staging: comedi: ni_usb6501: remove useless check
authorLuca Ellero <luca.ellero@brickedbrain.com>
Fri, 19 Sep 2014 11:50:38 +0000 (13:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 22:58:18 +0000 (15:58 -0700)
commit78d8135608d35524d17702767167b0d0248f3df7
treefa760df24f6ca2a712c69d0647c49bfa7ba5073f
parente9826c0c8a97f4b72d073db7dc879e4308e10822
staging: comedi: ni_usb6501: remove useless check

Remove useless test in ni6501_send_command. The check is useless since this
function is called only in this driver.

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_usb6501.c