From c61454e19ab327f769221f1752b59322853d8716 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 23 May 2013 12:42:42 -0700 Subject: [PATCH] staging: comedi: usbduxsigma: use usbdux_ai_stop() to force unlink all urbs In tidy_up(), instead of duplicating the code in usbdux_ai_stop() to unlink all the input urbs, just use usbdux_ai_stop(). Since that function calls usb_kill_urb() for all the urbs and clears the 'ai_cmd_running' flag, we can also remove the redundant code in tidy_up(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed