diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 22:02:49 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-10-20 18:59:55 +0300 |
commit | 58e0cd3e23ead3636525e5f47898c1dc92d7f12f (patch) | |
tree | 1bc9f26a1b28a09bbb545f7f89db60272d4f4947 /drivers/pci/controller/pci-v3-semi.c | |
parent | eec240e25ab3742624f4909802e4a01a874434c9 (diff) | |
download | linux-58e0cd3e23ead3636525e5f47898c1dc92d7f12f.tar.xz |
PCI: v3-semi: Remove unneeded break
A break is not needed if it is preceded by a return
Link: https://lore.kernel.org/r/20201019190249.7825-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pci/controller/pci-v3-semi.c')
-rw-r--r-- | drivers/pci/controller/pci-v3-semi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-v3-semi.c b/drivers/pci/controller/pci-v3-semi.c index 1f54334f09f7..154a5398633c 100644 --- a/drivers/pci/controller/pci-v3-semi.c +++ b/drivers/pci/controller/pci-v3-semi.c @@ -658,7 +658,6 @@ static int v3_get_dma_range_config(struct v3_pci *v3, default: dev_err(v3->dev, "illegal dma memory chunk size\n"); return -EINVAL; - break; } val |= V3_PCI_MAP_M_REG_EN | V3_PCI_MAP_M_ENABLE; *pci_map = val; |