diff options
| author | Chris Rorvick <[email protected]> | 2015-01-30 17:45:45 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-02-07 17:15:43 +0800 |
| commit | 737fee1bf699635060caa1e940fd30153ff592de (patch) | |
| tree | 6ca6b7cb18ebe9a941c6d61401434a67983a3b32 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 36e4d8826b317080e283e4edd08bf8d5ac706f38 (diff) | |
staging: emxx_udc: Remove nbu2ss_drv_set_dp_info()
This function is an awkward helper for nbu2ss_drv_ep_init(). Most of
its logic is devoted to determining if the current endpoint is ep0,
something the caller can easily do in a single line. And there is not
a lot going on beyond that.
Move this logic up into nbu2ss_drv_ep_init(). The result is much easier
to understand and the resulting function is still viewable within a
single screen.
Signed-off-by: Chris Rorvick <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions