From: Mauro Carvalho Chehab Date: Fri, 15 Jul 2011 12:35:58 +0000 (-0300) Subject: [media] drxk: Remove goto/break after return X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ab12f41f62ee8824bb2eec12c8dcbfb31dd4572a;p=mv-sheeva.git [media] drxk: Remove goto/break after return After return, we don't need any other statement to change the function flux ;) Reported-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/drxk_hard.c b/drivers/media/dvb/frontends/drxk_hard.c index 217796dd49b..56949553b92 100644 --- a/drivers/media/dvb/frontends/drxk_hard.c +++ b/drivers/media/dvb/frontends/drxk_hard.c @@ -1667,7 +1667,6 @@ static int CtrlPowerMode(struct drxk_state *state, enum DRXPowerMode *mode) default: /* Unknow sleep mode */ return -EINVAL; - break; } /* If already in requested power mode, do nothing */ @@ -3460,7 +3459,6 @@ static int DVBTCtrlSetEchoThreshold(struct drxk_state *state, break; default: return -EINVAL; - goto error; } status = write16(state, OFDM_SC_RA_RAM_ECHO_THRES__A, data);