diff options
author | Tzu-En Huang <tehuang@realtek.com> | 2019-12-20 17:21:51 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-01-26 17:38:08 +0200 |
commit | 3f43f10bd619b1acebb570bebf989265920aeb27 (patch) | |
tree | 065f79ff8d6fb6988e42c36a83a5772b83ca7c0e /drivers/net/wireless/realtek/rtw88/main.c | |
parent | e339b649352437c529616daa0c15db04c76f0e85 (diff) | |
download | linux-3f43f10bd619b1acebb570bebf989265920aeb27.tar.bz2 |
rtw88: remove unused spinlock
dm_lock is never used. Thus, remove this redundant spinlock.
Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/main.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtw88/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw88/main.c b/drivers/net/wireless/realtek/rtw88/main.c index 9144b2696618..2a60f8333df0 100644 --- a/drivers/net/wireless/realtek/rtw88/main.c +++ b/drivers/net/wireless/realtek/rtw88/main.c @@ -1376,7 +1376,6 @@ int rtw_core_init(struct rtw_dev *rtwdev) skb_queue_head_init(&rtwdev->coex.queue); skb_queue_head_init(&rtwdev->tx_report.queue); - spin_lock_init(&rtwdev->dm_lock); spin_lock_init(&rtwdev->rf_lock); spin_lock_init(&rtwdev->h2c.lock); spin_lock_init(&rtwdev->txq_lock); |