Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Greg Dietsche and committed by
Mauro Carvalho Chehab
3735edf9 fe45e255

+1 -5
+1 -5
drivers/media/dvb/frontends/cx24116.c
··· 1452 1452 cmd.args[0x00] = CMD_BANDWIDTH; 1453 1453 cmd.args[0x01] = 0x00; 1454 1454 cmd.len = 0x02; 1455 - ret = cx24116_cmd_execute(fe, &cmd); 1456 - if (ret != 0) 1457 - return ret; 1458 - 1459 - return ret; 1455 + return cx24116_cmd_execute(fe, &cmd); 1460 1456 } 1461 1457 1462 1458 static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params,