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:
committed by
Greg Kroah-Hartman
parent
a9914127e8
commit
0ba169aff9
@ -1469,8 +1469,6 @@ struct usb_sg_request {
|
||||
|
||||
struct usb_device *dev;
|
||||
int pipe;
|
||||
struct scatterlist *sg;
|
||||
int nents;
|
||||
|
||||
int entries;
|
||||
struct urb **urbs;
|
||||
|
Reference in New Issue
Block a user