Re: [PATCH 1/2] Staging: comedi: Fix if/else style in hwdrv_apci1500.c

From: Ian Abbott
Date: Tue Mar 11 2014 - 10:34:16 EST


On 2014-03-09 16:24, Conrad Meyer wrote:
Also kill some useless comments while I was there, e.g.:
if (foo) {
...
} /* if (foo) */

With vim:
:%s/}\t\t*\/\*\s\s*\(if\|else\|for\|while\|switch\).*$/}/

Signed-off-by: Conrad Meyer <cse.cem@xxxxxxxxx>

Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/