staging: comedi: Remove if condition.
authorNavya Sri Nizamkari <navyasri.tech@gmail.com>
Tue, 3 Mar 2015 11:38:06 +0000 (17:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:32 +0000 (09:54 -0800)
commit82d28561b7e01eccaa36b06c987045f08a77b4f4
tree9daae2c6619bae5124d1dbf910af4fbd42c3f2d4
parent324588eccc75a3a3d4beac2a0206122b23b90adc
staging: comedi: Remove if condition.

This patch removes a if condition which has a semicolon
after it. As the conditional check is redundant, the comment
before it is also changed. The following
coccinelle script was used to detect the pattern of a
semicolon after if.

@r1@
position p;
@@
if (...);@p
@script:python@
p0 << r1.p;
@@
// Emacs org-mode output
cocci.print_main("", p0)
cocci.print_secs("", p0)

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das1800.c