staging: comedi: ni_mio_common: remove deadcode in ni_ai_insn_config()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 25 Aug 2014 22:23:51 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:20:51 +0000 (13:20 -0700)
commitcad6daded3feed359b73cee8d1e0962bfac3059f
tree414f11948c19bbd4b8e723ba804e344e1b2ddb89
parent0557344e21497fce9475dfe3f41fd92d57d8a274
staging: comedi: ni_mio_common: remove deadcode in ni_ai_insn_config()

The previous mask by 0xf ensures that calib_source will not be > 0xf.
Remove the dead code.

Reported by: coverity
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