diff options
| author | Sergio Paracuellos <[email protected]> | 2018-04-25 16:01:55 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-26 09:35:04 +0200 |
| commit | bcb53e8a466f2a95b2f3089006931b0b5984103b (patch) | |
| tree | 2abd2dbf993a5e4c4f36d62dcc996111764b618b /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 55b56be2c40ca2eb59888d87a629c77329836747 (diff) | |
staging: ks7010: refactor ks_wlan_translate_scan function
This commit refactors ks_wlan_translate_scan function with
the following changes:
- reorder local variables
- use ether_addr_copy to copy ethernet addresses
- change style in 'current_ev' variable assignments
- make use of some ternaries avoiding if-else code
- use preferred style for comments
- extract common code into a new ks_wlan_add_leader_event
function
After this changes readability has been improved.
Signed-off-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions