diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2010-02-26 09:14:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-04 15:59:01 (GMT) |
commit | 6705b68d0be284e2f9949f3657ea65d426d0f988 (patch) | |
tree | d65b74c226a7545ff1ada7c4d3b40d3b965a675d /drivers/staging/wlan-ng/p80211conv.h | |
parent | 639b9f1ee5987270be2bca4bf8b7e6110d3b47ec (diff) | |
download | linux-fsl-qoriq-6705b68d0be284e2f9949f3657ea65d426d0f988.tar.xz |
Staging: comedi: comedi_fops.c: Checkpatch cleanup
ERROR: do not initialise externals to 0 or NULL
+int comedi_num_legacy_minors = 0;
WARNING: braces {} are not necessary for single statement blocks
+ if (s->subdev_flags & SDF_CMD_READ) {
+ kill_fasync(&dev->async_queue, SIGIO, POLL_IN);
+ }
WARNING: braces {} are not necessary for single statement blocks
+ if (s->subdev_flags & SDF_CMD_WRITE) {
+ kill_fasync(&dev->async_queue, SIGIO, POLL_OUT);
+ }
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211conv.h')
0 files changed, 0 insertions, 0 deletions