Commit 64cab4e2 authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging/ft1000: fix the no brace needed warning in ft1000_interrupt

as the if statement encloses only one line braces around it are not
needed.

The following warn fixed,
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9e76b9df
...@@ -1998,9 +1998,8 @@ static irqreturn_t ft1000_interrupt(int irq, void *dev_id) ...@@ -1998,9 +1998,8 @@ static irqreturn_t ft1000_interrupt(int irq, void *dev_id)
// Make sure we process all interrupt before leaving the ISR due to the edge trigger interrupt type // Make sure we process all interrupt before leaving the ISR due to the edge trigger interrupt type
while (inttype) { while (inttype) {
if (inttype & ISR_DOORBELL_PEND) { if (inttype & ISR_DOORBELL_PEND)
ft1000_parse_dpram_msg(dev); ft1000_parse_dpram_msg(dev);
}
if (inttype & ISR_RCV) { if (inttype & ISR_RCV) {
DEBUG(1, "Data in FIFO\n"); DEBUG(1, "Data in FIFO\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment