aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDavid Brownell <[email protected]>2008-05-07 14:25:24 -0700
committerGreg Kroah-Hartman <[email protected]>2008-05-14 10:00:28 -0700
commit734d37c654569f03156f8603a9761c402a73aa20 (patch)
tree880694ade8bc79bd45425ec108e002776cea1628 /scripts/patch-kernel
parent2c2d28a015f0dd36c5d1a06e16923e3142574066 (diff)
USB: serial gadget: simplify endpoint handling
Switch serial gadget away from a *very* old idiom: just remember the endpoints we'll be using, instead of looking them up by name each time. This is a net code and data (globals) shrink. Also fix a small memory leak in the rmmod path, by working the same as the disconnect code. Signed-off-by: David Brownell <[email protected]> Cc: Al Borchers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions