Skip to content

Commit

Permalink
[media] mxl111sf: remove pointless if condition in mxl111sf_config_spi
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Nov 7, 2011
1 parent 2f4133d commit cd834fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/dvb/dvb-usb/mxl111sf-phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cd834fa

Please sign in to comment.