From: Nathan Hintz Date: Sat, 12 Jan 2013 10:46:13 +0000 (-0800) Subject: bcma: delete duplicate readl X-Git-Tag: accepted/tizen/common/20141203.182822~2855^2~242^2^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6734627edea983b307593f71824d7ec2dd2625a;p=platform%2Fkernel%2Flinux-arm64.git 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 Acked-by: Hauke Mehrtens Signed-off-by: John W. Linville --- 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));