summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Elms <paul@uprocera.co.uk>2010-02-04 08:24:28 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:55 -0800
commitf4098b4f8ac65e0e44bbe579ac7d32b6e05ffa3b (patch)
tree0e39a58dcbf870cdab90d485f4b06a55384c3889
parent412bd046b0a1726f8b168d5056d21213932f9d84 (diff)
downloadblackbird-obmc-linux-f4098b4f8ac65e0e44bbe579ac7d32b6e05ffa3b.tar.gz
blackbird-obmc-linux-f4098b4f8ac65e0e44bbe579ac7d32b6e05ffa3b.zip
Staging: comedi: fix brace coding style in comedi_fops.c
This patch to the comedi_fops.c file fixes a brace warning found by the checkpatch.pl tool Signed-off-by: Paul Elms <paul@uprocera.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/comedi/comedi_fops.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
index 8117748ad5a5..79653e868c12 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -2004,12 +2004,10 @@ void comedi_event(struct comedi_device *dev, struct comedi_subdevice *s)
if (async->cb_mask & s->async->events) {
if (comedi_get_subdevice_runflags(s) & SRF_USER) {
wake_up_interruptible(&async->wait_head);
- if (s->subdev_flags & SDF_CMD_READ) {
+ if (s->subdev_flags & SDF_CMD_READ)
kill_fasync(&dev->async_queue, SIGIO, POLL_IN);
- }
- if (s->subdev_flags & SDF_CMD_WRITE) {
+ if (s->subdev_flags & SDF_CMD_WRITE)
kill_fasync(&dev->async_queue, SIGIO, POLL_OUT);
- }
} else {
if (async->cb_func)
async->cb_func(s->async->events, async->cb_arg);
OpenPOWER on IntegriCloud