Skip to content

Commit

Permalink
ALSA: fm801: put curly braces around empty if-body
Browse files Browse the repository at this point in the history
The compiler complains on unused condition as follows

sound/pci/fm801.c: In function ‘snd_fm801_interrupt’:
sound/pci/fm801.c:585:3: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]

Put the curly braces around empty body as suggested.

Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
andy-shev authored and tiwai committed Dec 20, 2015
1 parent 4b5c15f commit 997c87d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sound/pci/fm801.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,9 @@ static irqreturn_t snd_fm801_interrupt(int irq, void *dev_id)
}
if (chip->rmidi && (status & FM801_IRQ_MPU))
snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data);
if (status & FM801_IRQ_VOLUME)
;/* TODO */
if (status & FM801_IRQ_VOLUME) {
/* TODO */
}

return IRQ_HANDLED;
}
Expand Down

0 comments on commit 997c87d

Please sign in to comment.