diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-08-06 21:48:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 20:32:57 -0400 |
commit | 630c7aa80152881980e45c11584f22476f71959b (patch) | |
tree | b5e7f2e614b9a50a70b2b249275ba649de4db7d1 | |
parent | 54d0be9e3af1e20c3d0c3cc3eba50d33da24229c (diff) |
usb gadget: remove needless struct members
This removes some unused members from the various USB functions.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/gadget/f_acm.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/f_ecm.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/f_rndis.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/f_serial.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/f_subset.c | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/gadget/f_acm.c b/drivers/usb/gadget/f_acm.c index d8faccf27895..f3bf5612af2d 100644 --- a/drivers/usb/gadget/f_acm.c +++ b/drivers/usb/gadget/f_acm.c | |||
@@ -47,9 +47,7 @@ struct f_acm { | |||
47 | u8 ctrl_id, data_id; | 47 | u8 ctrl_id, data_id; |
48 | u8 port_num; | 48 | u8 port_num; |
49 | 49 | ||
50 | struct usb_descriptor_header **fs_function; | ||
51 | struct acm_ep_descs fs; | 50 | struct acm_ep_descs fs; |
52 | struct usb_descriptor_header **hs_function; | ||
53 | struct acm_ep_descs hs; | 51 | struct acm_ep_descs hs; |
54 | 52 | ||
55 | struct usb_ep *notify; | 53 | struct usb_ep *notify; |
diff --git a/drivers/usb/gadget/f_ecm.c b/drivers/usb/gadget/f_ecm.c index 0822e9d7693a..a2b5c092bda0 100644 --- a/drivers/usb/gadget/f_ecm.c +++ b/drivers/usb/gadget/f_ecm.c | |||
@@ -63,9 +63,7 @@ struct f_ecm { | |||
63 | 63 | ||
64 | char ethaddr[14]; | 64 | char ethaddr[14]; |
65 | 65 | ||
66 | struct usb_descriptor_header **fs_function; | ||
67 | struct ecm_ep_descs fs; | 66 | struct ecm_ep_descs fs; |
68 | struct usb_descriptor_header **hs_function; | ||
69 | struct ecm_ep_descs hs; | 67 | struct ecm_ep_descs hs; |
70 | 68 | ||
71 | struct usb_ep *notify; | 69 | struct usb_ep *notify; |
diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c index 61652f0f13fd..659b3d9671c4 100644 --- a/drivers/usb/gadget/f_rndis.c +++ b/drivers/usb/gadget/f_rndis.c | |||
@@ -85,9 +85,7 @@ struct f_rndis { | |||
85 | u8 ethaddr[ETH_ALEN]; | 85 | u8 ethaddr[ETH_ALEN]; |
86 | int config; | 86 | int config; |
87 | 87 | ||
88 | struct usb_descriptor_header **fs_function; | ||
89 | struct rndis_ep_descs fs; | 88 | struct rndis_ep_descs fs; |
90 | struct usb_descriptor_header **hs_function; | ||
91 | struct rndis_ep_descs hs; | 89 | struct rndis_ep_descs hs; |
92 | 90 | ||
93 | struct usb_ep *notify; | 91 | struct usb_ep *notify; |
diff --git a/drivers/usb/gadget/f_serial.c b/drivers/usb/gadget/f_serial.c index 1b6bde9aaed5..fe5674db344b 100644 --- a/drivers/usb/gadget/f_serial.c +++ b/drivers/usb/gadget/f_serial.c | |||
@@ -36,9 +36,7 @@ struct f_gser { | |||
36 | u8 data_id; | 36 | u8 data_id; |
37 | u8 port_num; | 37 | u8 port_num; |
38 | 38 | ||
39 | struct usb_descriptor_header **fs_function; | ||
40 | struct gser_descs fs; | 39 | struct gser_descs fs; |
41 | struct usb_descriptor_header **hs_function; | ||
42 | struct gser_descs hs; | 40 | struct gser_descs hs; |
43 | }; | 41 | }; |
44 | 42 | ||
diff --git a/drivers/usb/gadget/f_subset.c b/drivers/usb/gadget/f_subset.c index afeab9a0523f..acb8d233aa1d 100644 --- a/drivers/usb/gadget/f_subset.c +++ b/drivers/usb/gadget/f_subset.c | |||
@@ -66,9 +66,7 @@ struct f_gether { | |||
66 | 66 | ||
67 | char ethaddr[14]; | 67 | char ethaddr[14]; |
68 | 68 | ||
69 | struct usb_descriptor_header **fs_function; | ||
70 | struct geth_descs fs; | 69 | struct geth_descs fs; |
71 | struct usb_descriptor_header **hs_function; | ||
72 | struct geth_descs hs; | 70 | struct geth_descs hs; |
73 | }; | 71 | }; |
74 | 72 | ||