From: Manohar Vanga Date: Wed, 23 Feb 2011 13:25:27 +0000 (+0100) Subject: staging: vme: remove unreachable code X-Git-Tag: MMI-PSA29.97-13-9~20521^2~419 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6012795b13cd15b1e2216dc8558461ce99aecc30;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: vme: remove unreachable code Removed some unreachable code from vme_register_bridge Signed-off-by: Manohar Vanga Acked-by: Martyn Welch Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vme/vme.c b/drivers/staging/vme/vme.c index d9fc8644376e..88bf45520125 100644 --- 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];