aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-05-04 06:16:24 +0200
committerGreg Kroah-Hartman <[email protected]>2018-05-06 18:58:38 -0700
commit8ce76bff0e6a2cbdaa8e52cd34648c8bbc1b8039 (patch)
tree5fb83a111ccc97a4f02e29b1669923ea06728302 /tools/perf/scripts/python/event_analyzing_sample.py
parent80020cd7a6bfb5d9642c33efb065fcc3823ffc69 (diff)
staging: ks7010: add new helpers to achieve mib set request and simplify code
New three functions have been created to centralice and simplify calls related with set MIB requests: - hostif_mib_set_request_int - hostif_mib_set_request_bool - hostif_mib_set_request_ostring Using these in different calls simplify functions related with this mainly when types are bool and int because no more conversions are needed in the caller functions. Those conversion details are now located in the new helpers improving a lot readability. Calls in hostif_sme_set_wep function has change also some if's to check invalid value first avoiding one level indentation. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions