[media] drxk: Remove goto/break after return
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 15 Jul 2011 12:35:58 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:03 +0000 (17:56 -0300)
After return, we don't need any other statement to change the
function flux ;)

Reported-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxk_hard.c

index 217796dd49bf509bd58fd1a1ddee4f9023c88940..56949553b929422a81e1c9fc8338a5c3e8e5736e 100644 (file)
@@ -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);