diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2013-01-12 02:46:13 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-14 15:10:40 -0500 |
commit | f6734627edea983b307593f71824d7ec2dd2625a (patch) | |
tree | d3aa6d6968627d376b3e42a3e5616adbc371446c /drivers/bcma | |
parent | 6bf2e5461479c4511f59946a7378db576b04dbc5 (diff) | |
download | linux-f6734627edea983b307593f71824d7ec2dd2625a.tar.bz2 |
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>
Diffstat (limited to 'drivers/bcma')
-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 37d1777dcd47..cf3dca987257 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)); |