aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2025-04-10 12:24:33 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-04-23 15:34:23 +0200
commitc96d5afc34dfcf38a00233a073c601949ba8286c (patch)
tree64dcd34f5ba0c575618e05356a0ff81932e7cc89 /tools/perf/scripts/python/export-to-postgresql.py
parentwifi: mwifiex: make locally used function static (diff)
downloadwireguard-linux-c96d5afc34dfcf38a00233a073c601949ba8286c.tar.xz
wireguard-linux-c96d5afc34dfcf38a00233a073c601949ba8286c.zip
wifi: mwifiex: move common settings out of switch/case
In mwifiex_add_virtual_intf() several settings done in a switch/case are the same in all cases. Move them out of the switch/case to deduplicate the code. bss_started is not initialized in all switch/case branches, but it is only used in AP mode in the driver, so it doesn't hurt to move its initialization out of the switch/case as well. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Francesco Dolcini <francesco@dolcini.it> Acked-by: Brian Norris <briannorris@chromium.org> Link: https://patch.msgid.link/20250410-mwifiex-cleanup-1-v6-9-a6bbd4ac4d37@pengutronix.de Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions