Commit 630c7aa8 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

usb gadget: remove needless struct members

This removes some unused members from the various USB functions.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 54d0be9e
...@@ -47,9 +47,7 @@ struct f_acm { ...@@ -47,9 +47,7 @@ struct f_acm {
u8 ctrl_id, data_id; u8 ctrl_id, data_id;
u8 port_num; u8 port_num;
struct usb_descriptor_header **fs_function;
struct acm_ep_descs fs; struct acm_ep_descs fs;
struct usb_descriptor_header **hs_function;
struct acm_ep_descs hs; struct acm_ep_descs hs;
struct usb_ep *notify; struct usb_ep *notify;
......
...@@ -63,9 +63,7 @@ struct f_ecm { ...@@ -63,9 +63,7 @@ struct f_ecm {
char ethaddr[14]; char ethaddr[14];
struct usb_descriptor_header **fs_function;
struct ecm_ep_descs fs; struct ecm_ep_descs fs;
struct usb_descriptor_header **hs_function;
struct ecm_ep_descs hs; struct ecm_ep_descs hs;
struct usb_ep *notify; struct usb_ep *notify;
......
...@@ -85,9 +85,7 @@ struct f_rndis { ...@@ -85,9 +85,7 @@ struct f_rndis {
u8 ethaddr[ETH_ALEN]; u8 ethaddr[ETH_ALEN];
int config; int config;
struct usb_descriptor_header **fs_function;
struct rndis_ep_descs fs; struct rndis_ep_descs fs;
struct usb_descriptor_header **hs_function;
struct rndis_ep_descs hs; struct rndis_ep_descs hs;
struct usb_ep *notify; struct usb_ep *notify;
......
...@@ -36,9 +36,7 @@ struct f_gser { ...@@ -36,9 +36,7 @@ struct f_gser {
u8 data_id; u8 data_id;
u8 port_num; u8 port_num;
struct usb_descriptor_header **fs_function;
struct gser_descs fs; struct gser_descs fs;
struct usb_descriptor_header **hs_function;
struct gser_descs hs; struct gser_descs hs;
}; };
......
...@@ -66,9 +66,7 @@ struct f_gether { ...@@ -66,9 +66,7 @@ struct f_gether {
char ethaddr[14]; char ethaddr[14];
struct usb_descriptor_header **fs_function;
struct geth_descs fs; struct geth_descs fs;
struct usb_descriptor_header **hs_function;
struct geth_descs hs; struct geth_descs hs;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment