From: H Hartley Sweeten Date: Tue, 30 Jul 2013 00:46:27 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbdux_alloc_usb_buffers() X-Git-Tag: v3.12-rc1~183^2~399 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef1e3c4a3b383c6da3979670fcb5c6e9c7de4741;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbdux_alloc_usb_buffers() Tidy up the error path by doing all the basic allocations then checking for failures. We have the comedi device now so fill in the urb->context. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed