diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2013-01-12 10:46:13 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-14 20:10:40 (GMT) |
commit | f6734627edea983b307593f71824d7ec2dd2625a (patch) | |
tree | d3aa6d6968627d376b3e42a3e5616adbc371446c | |
parent | 6bf2e5461479c4511f59946a7378db576b04dbc5 (diff) | |
download | linux-f6734627edea983b307593f71824d7ec2dd2625a.tar.xz |
bcma: delete duplicate readl
The 'val' has already been read by the prior call to 'mips_busprobe32';
this 'readl' is unnecessary.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/bcma/driver_pci_host.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c index 37d1777d..cf3dca9 100644 --- a/drivers/bcma/driver_pci_host.c +++ b/drivers/bcma/driver_pci_host.c @@ -122,8 +122,6 @@ static int bcma_extpci_read_config(struct bcma_drv_pci *pc, unsigned int dev, val = 0xffffffff; goto unmap; } - - val = readl(mmio); } val >>= (8 * (off & 3)); |