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 13:21:42 -0700 |
commit | 0ba169aff9181389f30f225ad92e113eeb2290b9 (patch) | |
tree | 50dc210826805224c8b2941dfcfbf55ffb4e3c02 /include/linux/usb.h | |
parent | a9914127e834acf648a96c72b4e271dc0c1c7c74 (diff) | |
download | kernel_samsung_smdk4412-0ba169aff9181389f30f225ad92e113eeb2290b9.tar.gz kernel_samsung_smdk4412-0ba169aff9181389f30f225ad92e113eeb2290b9.tar.bz2 kernel_samsung_smdk4412-0ba169aff9181389f30f225ad92e113eeb2290b9.zip |
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 eec9e74f332..ce07062ebc2 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1469,8 +1469,6 @@ struct usb_sg_request { struct usb_device *dev; int pipe; - struct scatterlist *sg; - int nents; int entries; struct urb **urbs; |