USB: sisusbvga: drop usb_buffer_alloc
authorPete Zaitcev <zaitcev@redhat.com>
Wed, 10 Jun 2009 20:15:52 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:19 +0000 (06:46 -0700)
commitd2fb1bb32b9b379a029aeca969b45d28bd91ae89
tree6976ca86c7f34663cb27aead782f37986b097734
parentf8086a07c4740ae37e5221508b9cabc8fef4bf6e
USB: sisusbvga: drop usb_buffer_alloc

This patch falls out of my work to fix usbmon so it uses virtual addresses.
It is not necessary, the "new" usbmon should work just fine with sisusbvga.
However, it seems ridiculous that anyone would use uncached memory to
transfer bulk data. Dropping the unnecessary use of usb_buffer_alloc
should be beneficial here, in case anyone ever uses the dongle on
anything beyond x86.

I had no success in raising the author of the driver by e-mail, so
the patch is not actually tested.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/misc/sisusbvga/sisusb.h