aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-03-13 17:38:16 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-14 06:20:06 +0800
commit034a7178d21381d82dd83330776cff30a707bc00 (patch)
tree64d7899cba9f760d12ba688b2dbe7030ad397a8b /tools/perf/scripts/python/netdev-times.py
parent33590c18529973683d41ba0bc942f8e162ab3a21 (diff)
staging: ks7010: move WPA code to separate function
Checkpatch emits WARNING: Too many leading tabs - consider code refactoring. Function contains 5 levels of nesting and 14 local variables. Code can be simplified and nesting reduced by refactoring into separate functions. WPA code is contained and may be factored out into a separate function. This will reduce the length and complexity of hostif_data_indication(). At times within the WPA code errors result in the function returning. In order to maintain this behaviour new function should return a status integer. Factor out WPA code into separate function. Add only code needed to get compilation to pass, including modifying return statements. Make no other code changes, program logic is unchanged. Signed-off-by: Tobin C. Harding <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions