aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2011-11-01 02:31:04 (GMT)
committerMichael Krufky <mkrufky@linuxtv.org>2011-11-01 02:31:04 (GMT)
commit257f53f59d4eddc140e2c7a898b8fa83334b2bfb (patch)
treedeb8c920d5ee9f70e58c0a2aed9c9c06955cc772
parent2cc5e69ca6d06b59607962bb9325f1089081e996 (diff)
mxl111sf: remove pointless if condition in mxl111sf_config_spi
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--drivers/media/dvb/dvb-usb/mxl111sf-phy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-phy.c b/drivers/media/dvb/dvb-usb/mxl111sf-phy.c
index 09787be..b741b3a 100644
--- a/drivers/media/dvb/dvb-usb/mxl111sf-phy.c
+++ b/drivers/media/dvb/dvb-usb/mxl111sf-phy.c
@@ -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;
}

Privacy Policy