summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-15 16:35:58 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-28 00:56:03 +0400
commitab12f41f62ee8824bb2eec12c8dcbfb31dd4572a (patch)
tree6d18a5012ddc4ffebe6e1ffb50233f3ae7f21e3f /drivers/media
parent320ed23ebf135a3403a7068ede7ca7915675bd47 (diff)
downloadlinux-ab12f41f62ee8824bb2eec12c8dcbfb31dd4572a.tar.xz
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/drxk_hard.c2
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)
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);