Skip to content

Commit

Permalink
usb gadget: remove needless struct members
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Aug 14, 2008
1 parent 54d0be9 commit 630c7aa
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/gadget/f_acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ struct f_acm {
u8 ctrl_id, data_id;
u8 port_num;

struct usb_descriptor_header **fs_function;
struct acm_ep_descs fs;
struct usb_descriptor_header **hs_function;
struct acm_ep_descs hs;

struct usb_ep *notify;
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/gadget/f_ecm.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ struct f_ecm {

char ethaddr[14];

struct usb_descriptor_header **fs_function;
struct ecm_ep_descs fs;
struct usb_descriptor_header **hs_function;
struct ecm_ep_descs hs;

struct usb_ep *notify;
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/gadget/f_rndis.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ struct f_rndis {
u8 ethaddr[ETH_ALEN];
int config;

struct usb_descriptor_header **fs_function;
struct rndis_ep_descs fs;
struct usb_descriptor_header **hs_function;
struct rndis_ep_descs hs;

struct usb_ep *notify;
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/gadget/f_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ struct f_gser {
u8 data_id;
u8 port_num;

struct usb_descriptor_header **fs_function;
struct gser_descs fs;
struct usb_descriptor_header **hs_function;
struct gser_descs hs;
};

Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/gadget/f_subset.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ struct f_gether {

char ethaddr[14];

struct usb_descriptor_header **fs_function;
struct geth_descs fs;
struct usb_descriptor_header **hs_function;
struct geth_descs hs;
};

Expand Down

0 comments on commit 630c7aa

Please sign in to comment.