From: H Hartley Sweeten Date: Tue, 30 Jul 2013 00:48:04 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbdux_detach() X-Git-Tag: v3.12-rc1~183^2~394 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d9861b554bc08e72045098dbc03d8221d904490;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbdux_detach() Make sure the usb intfdata is always cleared when the device is detached. Refactor the code to remove an indent level. Always unlink the urbs when the device is detached. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed