diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2013-01-12 11:46:13 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-14 21:10:40 +0100 |
commit | f6734627edea983b307593f71824d7ec2dd2625a (patch) | |
tree | d3aa6d6968627d376b3e42a3e5616adbc371446c /drivers/bcma | |
parent | bcma: fix bcm4716/bcm4748 i2s irqflag (diff) | |
download | linux-f6734627edea983b307593f71824d7ec2dd2625a.tar.xz linux-f6734627edea983b307593f71824d7ec2dd2625a.zip |
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)); |