]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_660x: remove ni_660x_num_counters()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 22 Mar 2016 18:10:28 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commitb15f5069087128d42d2e00b6b1c666fd3ec42bfe
tree3a904a3195fcfda39215fc8b674d1c5e12f0ebc7
parent520e61915186e0538a8fc46e5e268a2000141545
staging: comedi: ni_660x: remove ni_660x_num_counters()

This inline function is only used by the (*auto_attach). Remove it
and just use a local variable for the calculation.

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_660x.c