aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOscar Carter <[email protected]>2020-04-29 17:23:07 +0200
committerGreg Kroah-Hartman <[email protected]>2020-05-05 12:26:43 +0200
commit91387f5eb9fc22fe81bb09d6a97396da9d1e3967 (patch)
treebd3f224151177a395c89b3586721a6802fa6279c /tools/perf/scripts/python/export-to-sqlite.py
parent35452e10610617abd0e84389fa9271421bf6425d (diff)
staging: vt6656: Refactor the vnt_set_bss_mode function
Remove all the duplicate code in the "if, else if, else" statements as all the branches in every "if" are almost the same. The only difference between branches is some value. So, use variables instead of repeat code. Also, remove the unnecessary casting to u8 type because the "priv->bb_type" variable is already an u8 tpe. Signed-off-by: Oscar Carter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions