提交 3735edf9 编写于 作者: G Greg Dietsche 提交者: Mauro Carvalho Chehab

[media] dvb: remove unnecessary code

remove unnecessary code that matches this coccinelle pattern
	if (...)
		return ret;
	return ret;
Signed-off-by: NGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 fe45e255
......@@ -1452,11 +1452,7 @@ static int cx24116_set_frontend(struct dvb_frontend *fe,
cmd.args[0x00] = CMD_BANDWIDTH;
cmd.args[0x01] = 0x00;
cmd.len = 0x02;
ret = cx24116_cmd_execute(fe, &cmd);
if (ret != 0)
return ret;
return ret;
return cx24116_cmd_execute(fe, &cmd);
}
static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册