wifi: rtw88: sdio: Remove redundant 'flush_workqueue()' calls
authorChen Ni <nichen@iscas.ac.cn>
Mon, 24 Mar 2025 07:59:10 +0000 (15:59 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 31 Mar 2025 06:40:12 +0000 (14:40 +0800)
commit5c4cf36c538bb2714e43654e365cb77b19c4a93e
treedc719d55d83c0638f9b6d6d958a199d1c1885031
parent28b921020babf6d092e7570b56d69fc56ed37a6a
wifi: rtw88: sdio: Remove redundant 'flush_workqueue()' calls

'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.

Remove the redundant 'flush_workqueue()' calls.

This was generated with coccinelle:

@@
expression E;
@@

- flush_workqueue(E);
  destroy_workqueue(E);

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250324075910.407999-1-nichen@iscas.ac.cn
drivers/net/wireless/realtek/rtw88/sdio.c