diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-03-07 00:00:26 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 08:11:18 +0100 |
commit | 948273764855552e0190dddd701afc1074edca45 (patch) | |
tree | d0013114e77cd9f4456e5e01bd5f5edc58e2da26 /drivers/usb/storage/usb.h | |
parent | e38ddc727264e814c2fbe625f6f2d7953312324e (diff) | |
download | barebox-948273764855552e0190dddd701afc1074edca45.tar.gz barebox-948273764855552e0190dddd701afc1074edca45.tar.xz |
usb: storage: Drop unused fields in struct us_data
Only bulk-only transport is supported by the currennt codebase, so
ep_bInterval and recv_intr_ep are not really used. Remove them and all
related code. While at it remove flags and subclass as well since they
are not really used anywhere in the codebase.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/storage/usb.h')
-rw-r--r-- | drivers/usb/storage/usb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/storage/usb.h b/drivers/usb/storage/usb.h index 3aff15da24..cd4904f03b 100644 --- a/drivers/usb/storage/usb.h +++ b/drivers/usb/storage/usb.h @@ -54,17 +54,13 @@ typedef int (*trans_reset)(struct us_data *data); /* one us_data object allocated per usb storage device */ struct us_data { struct usb_device *pusb_dev; /* this usb_device */ - unsigned int flags; /* from filter */ unsigned char send_bulk_ep; /* used endpoints */ unsigned char recv_bulk_ep; - unsigned char recv_intr_ep; unsigned char ifnum; /* interface number */ - unsigned char subclass; unsigned char protocol; unsigned char max_lun; - unsigned char ep_bInterval; char *transport_name; |