[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;
|
||||
|
||||
ret = mxl111sf_write_reg(state, 0x00, 0x00);
|
||||
if (mxl_fail(ret))
|
||||
goto fail;
|
||||
mxl_fail(ret);
|
||||
fail:
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue