]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] mxl111sf: remove pointless if condition in mxl111sf_config_spi
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 1 Nov 2011 02:31:04 +0000 (23:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 15:36:36 +0000 (13:36 -0200)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/mxl111sf-phy.c

index 09787be576ac6d723cc1a2917004ef5f08825f96..b741b3a7a325d423287512dce40440ad9556505a 100644 (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;
 }