USB: simplify usb_sg_init()
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 5 May 2010 19:26:17 +0000 (15:26 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:42 +0000 (13:21 -0700)
commit0ba169aff9181389f30f225ad92e113eeb2290b9
tree50dc210826805224c8b2941dfcfbf55ffb4e3c02
parenta9914127e834acf648a96c72b4e271dc0c1c7c74
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>
drivers/usb/core/message.c
include/linux/usb.h