summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-10-19 15:54:54 +0800
committerKalle Valo <kvalo@codeaurora.org>2021-10-20 11:50:53 +0300
commite0e037b9fe5fbd19b21c0e542e44dd65f1b8cf58 (patch)
tree3d7a054f8fec6534f726a144c12633a3a3a4cf3a
parenta04310edcd00d6014126483a2d8cd95b4786db25 (diff)
rtw89: remove unneeded semicolon
Eliminate the following coccicheck warning: ./drivers/net/wireless/realtek/rtw89/pci.c:1348:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver") Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1634630094-1156-1-git-send-email-yang.lee@linux.alibaba.com
-rw-r--r--drivers/net/wireless/realtek/rtw89/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/pci.c b/drivers/net/wireless/realtek/rtw89/pci.c
index e9731012bca9..2c94762e4f93 100644
--- a/drivers/net/wireless/realtek/rtw89/pci.c
+++ b/drivers/net/wireless/realtek/rtw89/pci.c
@@ -1345,7 +1345,7 @@ static int rtw89_pci_check_mdio(struct rtw89_dev *rtwdev, u8 addr, u8 speed, u16
default:
rtw89_err(rtwdev, "[ERR]Error Speed %d!\n", speed);
return -EINVAL;
- };
+ }
rtw89_write16(rtwdev, R_AX_MDIO_CFG, val);
rtw89_write16_set(rtwdev, R_AX_MDIO_CFG, rw_bit);