]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbduxsigma: kill all urbs before freeing them
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:56:12 +0000 (12:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:58 +0000 (20:40 +0900)
commit4f99aa0354f6423a9cfb959f138c6f43c131cfa9
tree76af802543b12fc2e14b5060bee07c7b5c427dc0
parent4ebcc7c6a8f8b25aeeef0c1f78044159841a8153
staging: comedi: usbduxsigma: kill all urbs before freeing them

For aesthetic reasons, kill all the urbs before freeing them.
Also, remove a redundant killing of the ai and ao urbs in the
(*detach).

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/usbduxsigma.c