From 66ae140e4707bccab14cc6415b3d1be2d138a595 Mon Sep 17 00:00:00 2001 From: Esra Altintas Date: Sat, 27 Sep 2014 21:51:10 +0300 Subject: [PATCH] staging: rts5208: Remove unnecessary else in rtsx_card.h The following patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return Signed-off-by: Esra Altintas Acked-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rts5208/rtsx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index 56c84cdb55ba..2d2527c3aea2 100644 --- a/drivers/staging/rts5208/rtsx.c +++ b/drivers/staging/rts5208/rtsx.c @@ -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; -- 2.20.1