]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_mio_common: fix build warning
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 11 May 2015 17:22:45 +0000 (10:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2015 18:48:34 +0000 (11:48 -0700)
commit060d922e6f5ddf08695e1f93d5372dd38d670196
treeb893c1e62f613f9a5265249a01805281d3e68e26
parent48cd1a7af4bfc3cb7eb7d1acf2c2c9233c74a567
staging: comedi: ni_mio_common: fix build warning

The kbuild test robot detected a build warning causes by commit 4ef50566.

>> drivers/staging/comedi/drivers/ni_mio_common.c:2274:34:
   warning: right-hand operand of comma expression has no effect [-Wunused-value]

That line should have been terminated by ';' and the following line removed.
Not sure why it even builds on my test system...

Reported-by: kbuild test robot
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c