From: Pete Zaitcev Date: Sat, 3 Feb 2007 07:13:14 +0000 (-0800) Subject: USB: Fix error cleanup path in airprime X-Git-Tag: v2.6.21-rc1~82^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af59cf404fc7ad6cc642de9e78252fb264917611;p=pandora-kernel.git USB: Fix error cleanup path in airprime Fix up the error processing path: in usb_submit_urb failed, we forgot to free buffers. Also, don't free buffers in read callback: less error prone, 21 LOC less, no need to comment so much. N.B. write path is ok to do kfree. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed