diff options
author | Greg Dietsche <gregory.dietsche@cuw.edu> | 2011-06-16 12:33:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:09 -0400 |
commit | 3735edf9fd8bfa6e31025a7cc73447516278000b (patch) | |
tree | 7795a047b4f2ab10aeb38ec8f94ce3f1eac23132 | |
parent | fe45e2551f565c87559434205963fc56bbe205fa (diff) |
[media] dvb: remove unnecessary code
remove unnecessary code that matches this coccinelle pattern
if (...)
return ret;
return ret;
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/frontends/cx24116.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/dvb/frontends/cx24116.c b/drivers/media/dvb/frontends/cx24116.c index 95c6465b87a1..ccd05255d527 100644 --- a/drivers/media/dvb/frontends/cx24116.c +++ b/drivers/media/dvb/frontends/cx24116.c | |||
@@ -1452,11 +1452,7 @@ tuned: /* Set/Reset B/W */ | |||
1452 | cmd.args[0x00] = CMD_BANDWIDTH; | 1452 | cmd.args[0x00] = CMD_BANDWIDTH; |
1453 | cmd.args[0x01] = 0x00; | 1453 | cmd.args[0x01] = 0x00; |
1454 | cmd.len = 0x02; | 1454 | cmd.len = 0x02; |
1455 | ret = cx24116_cmd_execute(fe, &cmd); | 1455 | return cx24116_cmd_execute(fe, &cmd); |
1456 | if (ret != 0) | ||
1457 | return ret; | ||
1458 | |||
1459 | return ret; | ||
1460 | } | 1456 | } |
1461 | 1457 | ||
1462 | static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, | 1458 | static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, |