USB: usb-storage: merge CB and CBI transport routines
This patch (as1173) merges usb-storage's CB and CBI transports into a single routine. So much of their code is common, it's silly to keep them separate. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
12aae68a20
commit
64648a9dc4
@ -591,7 +591,7 @@ static int get_transport(struct us_data *us)
|
||||
|
||||
case US_PR_CBI:
|
||||
us->transport_name = "Control/Bulk/Interrupt";
|
||||
us->transport = usb_stor_CBI_transport;
|
||||
us->transport = usb_stor_CB_transport;
|
||||
us->transport_reset = usb_stor_CB_reset;
|
||||
us->max_lun = 7;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user