diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2010-02-26 10:14:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-04 07:59:01 -0800 |
commit | 6705b68d0be284e2f9949f3657ea65d426d0f988 (patch) | |
tree | d65b74c226a7545ff1ada7c4d3b40d3b965a675d /tools/perf/util | |
parent | 639b9f1ee5987270be2bca4bf8b7e6110d3b47ec (diff) | |
download | kernel_samsung_aries-6705b68d0be284e2f9949f3657ea65d426d0f988.zip kernel_samsung_aries-6705b68d0be284e2f9949f3657ea65d426d0f988.tar.gz kernel_samsung_aries-6705b68d0be284e2f9949f3657ea65d426d0f988.tar.bz2 |
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 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions