[media] USB: Deletion of unnecessary checks before three function calls
[pandora-kernel.git] / drivers / media / usb / em28xx / em28xx-input.c
index 23f8f6a..85ac7dd 100644 (file)
@@ -841,8 +841,7 @@ static int em28xx_ir_fini(struct em28xx *dev)
        if (!ir)
                goto ref_put;
 
-       if (ir->rc)
-               rc_unregister_device(ir->rc);
+       rc_unregister_device(ir->rc);
 
        kfree(ir->i2c_client);