summaryrefslogtreecommitdiff
path: root/drivers/soundwire/intel.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2023-08-02 19:07:19 +0300
committerKalle Valo <kvalo@kernel.org>2023-08-21 18:56:27 +0300
commit359838758ceaabeadec2aab7a4ae1c8c89372c21 (patch)
tree2e9d9bded7cc46a50990a048e28af31072d8bb2c /drivers/soundwire/intel.h
parenta6b3a0169ade026b257be58f9295f5eec7edd359 (diff)
downloadlinux-359838758ceaabeadec2aab7a4ae1c8c89372c21.tar.xz
wifi: mwifiex: drop BUG_ON from TX paths
In 'mwifiex_process_sta_txpd()' and 'mwifiex_process_uap_txpd()', replace 'BUG_ON()' with runtime check, and move all these checks to 'mwifiex_process_tx()'. This way, both callees may be converted to 'void', and the caller may be simplified as well. Suggested-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Acked-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230802160726.85545-5-dmantipov@yandex.ru
Diffstat (limited to 'drivers/soundwire/intel.h')
0 files changed, 0 insertions, 0 deletions