staging: rts5208: Remove unnecessary else in rtsx_card.h
authorEsra Altintas <es.altintas@gmail.com>
Sat, 27 Sep 2014 18:51:10 +0000 (21:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:49:25 +0000 (22:49 -0400)
The following patch fixes the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return

Signed-off-by: Esra Altintas <es.altintas@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c

index 56c84cdb55baba4fd41af0a2bc612b00033362e2..2d2527c3aea2213b626b41f3787f88c7fa4a84a5 100644 (file)
@@ -596,8 +596,7 @@ static irqreturn_t rtsx_interrupt(int irq, void *dev_id)
                spin_unlock(&dev->reg_lock);
                if (chip->int_reg == 0xFFFFFFFF)
                        return IRQ_HANDLED;
-               else
-                       return IRQ_NONE;
+               return IRQ_NONE;
        }
 
        status = chip->int_reg;