Skip to content

Commit

Permalink
staging: vme: remove unreachable code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manohar Vanga authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent ea5dbf9 commit 6012795
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/vme/vme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 6012795

Please sign in to comment.