]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbdux: tidy up usbdux_ai_cancel()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 24 Jul 2013 21:17:50 +0000 (14:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:15:37 +0000 (13:15 -0700)
commitd0c35797302a8fc7cd0a9378e09f48021a029b7f
tree503d8f66288dd6243d2dd3b6d055045041e6f459
parentc09d0e148032118530ca229e07e0a49b26ca62d4
staging: comedi: usbdux: tidy up usbdux_ai_cancel()

Rename the local variable used for the private data pointer to the
comedi "norm".

Remove the unnecessary sanity check of the private data pointer. This
function can only be called is the private data was allocated during
the attach.

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