[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>
This commit is contained in:
parent
fe45e2551f
commit
3735edf9fd
1 changed files with 1 additions and 5 deletions
|
@ -1452,11 +1452,7 @@ tuned: /* Set/Reset B/W */
|
||||||
cmd.args[0x00] = CMD_BANDWIDTH;
|
cmd.args[0x00] = CMD_BANDWIDTH;
|
||||||
cmd.args[0x01] = 0x00;
|
cmd.args[0x01] = 0x00;
|
||||||
cmd.len = 0x02;
|
cmd.len = 0x02;
|
||||||
ret = cx24116_cmd_execute(fe, &cmd);
|
return cx24116_cmd_execute(fe, &cmd);
|
||||||
if (ret != 0)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params,
|
static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params,
|
||||||
|
|
Loading…
Add table
Reference in a new issue