staging: vme: remove unreachable code
authorManohar Vanga <manohar.vanga@cern.ch>
Wed, 23 Feb 2011 13:25:27 +0000 (14:25 +0100)
committerGreg 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

index d9fc8644376e1f42e9a938422cf329bb5f862f80..88bf455201259ebb99f901ffe638dde8b1a6cdc5 100644 (file)
@@ -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];