mirror of https://gitee.com/openkylin/linux.git
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 <es.altintas@gmail.com> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
057c780369
commit
66ae140e47
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue