[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:
Michael Krufky 2011-10-31 23:31:04 -03:00 committed by Mauro Carvalho Chehab
parent 2f4133de28
commit cd834fa693
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}