diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-15 08:35:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:56:03 -0400 |
commit | ab12f41f62ee8824bb2eec12c8dcbfb31dd4572a (patch) | |
tree | 6d18a5012ddc4ffebe6e1ffb50233f3ae7f21e3f | |
parent | 320ed23ebf135a3403a7068ede7ca7915675bd47 (diff) |
[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 <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/frontends/drxk_hard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/drxk_hard.c b/drivers/media/dvb/frontends/drxk_hard.c index 217796dd49bf..56949553b929 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) | |||
1667 | default: | 1667 | default: |
1668 | /* Unknow sleep mode */ | 1668 | /* Unknow sleep mode */ |
1669 | return -EINVAL; | 1669 | return -EINVAL; |
1670 | break; | ||
1671 | } | 1670 | } |
1672 | 1671 | ||
1673 | /* If already in requested power mode, do nothing */ | 1672 | /* If already in requested power mode, do nothing */ |
@@ -3460,7 +3459,6 @@ static int DVBTCtrlSetEchoThreshold(struct drxk_state *state, | |||
3460 | break; | 3459 | break; |
3461 | default: | 3460 | default: |
3462 | return -EINVAL; | 3461 | return -EINVAL; |
3463 | goto error; | ||
3464 | } | 3462 | } |
3465 | 3463 | ||
3466 | status = write16(state, OFDM_SC_RA_RAM_ECHO_THRES__A, data); | 3464 | status = write16(state, OFDM_SC_RA_RAM_ECHO_THRES__A, data); |