diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2007-02-02 23:13:14 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-16 15:32:18 -0800 |
commit | af59cf404fc7ad6cc642de9e78252fb264917611 (patch) | |
tree | 0c70ca5d995fb1814fffd02ec9a5adb0b6e246d1 /drivers/usb/serial/keyspan.h | |
parent | 23004e241ccc03678592a8b392573e8514ec962f (diff) |
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 <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/keyspan.h')
0 files changed, 0 insertions, 0 deletions