projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf2e54
)
bcma: delete duplicate readl
author
Nathan Hintz
<nlhintz@hotmail.com>
Sat, 12 Jan 2013 10:46:13 +0000
(
02:46
-0800)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 14 Jan 2013 20:10:40 +0000
(15:10 -0500)
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>
drivers/bcma/driver_pci_host.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/driver_pci_host.c
b/drivers/bcma/driver_pci_host.c
index
37d1777
..
cf3dca9
100644
(file)
--- 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));