From: Johan Hovold Date: Wed, 5 May 2010 21:45:24 +0000 (+0200) Subject: USB: aircable: rewrite using generic read and write implementations X-Git-Tag: v2.6.35-rc1~471^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4272568b3dd8dbad36014a107c0fbbef6400c917;p=pandora-kernel.git USB: aircable: rewrite using generic read and write implementations Kill circular buffers for tx and rx as well as read work thread, and switch to generic kfifo-based write implementation. This is an example of how prepare_write_buffer and process_read_urb can be used to handle protocols with packet headers. Please note the diffstat which shows that the same functionality is now provided using only a tenth of the code (including whitespace and comments, though). Tested-by: Naranjo, Manuel Francisco Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed