[media] mxl111sf: remove pointless if condition in mxl111sf_config_spi
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2f4133de28
commit
cd834fa693
|
@ -296,8 +296,7 @@ int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
ret = mxl111sf_write_reg(state, 0x00, 0x00);
|
ret = mxl111sf_write_reg(state, 0x00, 0x00);
|
||||||
if (mxl_fail(ret))
|
mxl_fail(ret);
|
||||||
goto fail;
|
|
||||||
fail:
|
fail:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue