summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2025-04-23 10:21:02 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-04-23 15:41:44 +0200
commit659d609bdda5f9e96cbfaf8c4d0243277ca49d0f (patch)
treeeb210e49117cb89a336d811eae01a5a294c82c8f /tools/perf/scripts/python/export-to-postgresql.py
parent20e4d3f89d383e978f859d43908a63040d93a272 (diff)
wifi: mwifiex: remove unnecessary queue empty check
Since Commit 7bff9c974e1a ("mwifiex: send firmware initialization commands synchronously") all initialization commands are sent synchronously which means the command queue is empty when mwifiex_sta_init_cmd() returns. No need to check for entries in the command code then, so remove the check. Add a WARN_ON() just in case there is something wrong with the reasoning. Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Acked-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://patch.msgid.link/20250423-mwifiex-drop-asynchronous-init-v2-1-1bb951073a06@pengutronix.de [remove now unused is_cmd_pend_q_empty variable and comment] 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