From: tssurya Date: Fri, 24 Oct 2014 19:07:33 +0000 (+0530) Subject: Staging: comedi: ni_tiocmd: fixed a brace coding style issue X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0297ac39fae9edcccf8752a53e6ce6f903469c4f;p=openwrt%2Fstaging%2Fblogic.git Staging: comedi: ni_tiocmd: fixed a brace coding style issue Removed unneeded braces with the help of checkpatch.pl tool. Signed-off-by: Surya Seetharaman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_tiocmd.c b/drivers/staging/comedi/drivers/ni_tiocmd.c index 26e7291c4a51..46cf3eb2ee54 100644 --- a/drivers/staging/comedi/drivers/ni_tiocmd.c +++ b/drivers/staging/comedi/drivers/ni_tiocmd.c @@ -371,9 +371,8 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, of gate interrupt via dma read/write and report bogus gate errors */ if (counter->counter_dev->variant != - ni_gpct_variant_660x) { + ni_gpct_variant_660x) *gate_error = 1; - } } } if (gxx_status & GI_TC_ERROR(cidx)) {