diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-05-05 15:26:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:42 -0400 |
commit | 0ba169aff9181389f30f225ad92e113eeb2290b9 (patch) | |
tree | 50dc210826805224c8b2941dfcfbf55ffb4e3c02 /include/linux/usb.h | |
parent | a9914127e834acf648a96c72b4e271dc0c1c7c74 (diff) |
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>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index eec9e74f332f..ce07062ebc28 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -1469,8 +1469,6 @@ struct usb_sg_request { | |||
1469 | 1469 | ||
1470 | struct usb_device *dev; | 1470 | struct usb_device *dev; |
1471 | int pipe; | 1471 | int pipe; |
1472 | struct scatterlist *sg; | ||
1473 | int nents; | ||
1474 | 1472 | ||
1475 | int entries; | 1473 | int entries; |
1476 | struct urb **urbs; | 1474 | struct urb **urbs; |