diff options
author | David Brownell <david-b@pacbell.net> | 2007-08-02 00:00:38 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:55:03 -0700 |
commit | 0cf4f2de0a0f4100795f38ef894d4910678c74f8 (patch) | |
tree | 554ecbfd622ba87343203b0b5faaa71292550707 /drivers/usb/gadget/rndis.h | |
parent | a4e3ef5597e26dad006544d38b9ab6ff42382b76 (diff) |
USB: gadget: ethernet gadget cleanups, shrinkage
Clean up the ethernet gadget, using newer APIs and conventions:
- gadget_is_dualspeed() and gadget_is_otg() ... #ifdef removal
- Remove many now-needless #includes
- Use the VERBOSE_DEBUG convention
- Minor whitespace fixes.
- Fix a warning from "sparse".
Surprisingly, this saved about 2K of code (16%) on a fullspeed-only
ARMv4 platform. I'm bit puzzled by that (it's so much!), but approve
of the result.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/rndis.h')
0 files changed, 0 insertions, 0 deletions