mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
USB: simplify usb_sg_init()
This patch (as1377) simplifies the code in usb_sg_init(), without changing its functionality. It also removes a couple of unused fields from the usb_sg_request structure. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a9914127e8
commit
0ba169aff9
2 changed files with 39 additions and 58 deletions
|
@ -1469,8 +1469,6 @@ struct usb_sg_request {
|
|||
|
||||
struct usb_device *dev;
|
||||
int pipe;
|
||||
struct scatterlist *sg;
|
||||
int nents;
|
||||
|
||||
int entries;
|
||||
struct urb **urbs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue