提交 66ae140e 编写于 作者: E Esra Altintas 提交者: Greg Kroah-Hartman

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: NEsra Altintas <es.altintas@gmail.com>
Acked-by: NDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 057c7803
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册