summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-12-18 21:14:12 +0200
committerTakashi Iwai <tiwai@suse.de>2015-12-20 22:33:08 +0100
commit997c87dad2a322516db391c7df440bd89e18fc31 (patch)
treeece7edda0f7c4570a39072c388dddf0d547d49cd /sound/pci
parent4b5c15f746db70efc710369f62c6e1d323e20fb9 (diff)
downloadop-kernel-dev-997c87dad2a322516db391c7df440bd89e18fc31.zip
op-kernel-dev-997c87dad2a322516db391c7df440bd89e18fc31.tar.gz
ALSA: fm801: put curly braces around empty if-body
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/fm801.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c
index c2afb41..c24cb04 100644
--- a/sound/pci/fm801.c
+++ b/sound/pci/fm801.c
@@ -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;
}
OpenPOWER on IntegriCloud