projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea5dbf9
)
staging: vme: remove unreachable code
author
Manohar Vanga
<manohar.vanga@cern.ch>
Wed, 23 Feb 2011 13:25:27 +0000
(14:25 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 23 Feb 2011 22:41:28 +0000
(14:41 -0800)
Removed some unreachable code from vme_register_bridge
Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/vme.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/vme/vme.c
b/drivers/staging/vme/vme.c
index d9fc8644376e1f42e9a938422cf329bb5f862f80..88bf455201259ebb99f901ffe638dde8b1a6cdc5 100644
(file)
--- a/
drivers/staging/vme/vme.c
+++ b/
drivers/staging/vme/vme.c
@@
-1363,7
+1363,6
@@
int vme_register_bridge(struct vme_bridge *bridge)
return retval;
- i = VME_SLOTS_MAX;
err_reg:
while (i > -1) {
dev = &bridge->dev[i];