diff options
author | Kalle Valo <kvalo@kernel.org> | 2024-01-30 16:15:53 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-02-05 19:16:28 +0100 |
commit | 2b59c9c30b9cbbb9807abcb2eca0a45ce40611df (patch) | |
tree | ff352ce7a0b361b4a69398e4e7da76ad4e9fc384 /drivers/net/wireless/zydas | |
parent | wifi: rtl8xxxu: Add TP-Link TL-WN823N V2 (diff) | |
download | linux-2b59c9c30b9cbbb9807abcb2eca0a45ce40611df.tar.xz linux-2b59c9c30b9cbbb9807abcb2eca0a45ce40611df.zip |
wifi: zd1211rw: remove __nocast from zd_addr_t
Sparse warns:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c:383:24: warning: implicit cast from nocast type
drivers/net/wireless/zydas/zd1211rw/zd_usb.c:419:24: warning: implicit cast from nocast type
This is an ancient driver which has not have any meaningfuli changes for a long
time and hopefully removed soon. So just remove the __nocast to get rid of the
sparse warnings.
Compile tested only.
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240130151556.2315951-2-kvalo@kernel.org
Diffstat (limited to 'drivers/net/wireless/zydas')
-rw-r--r-- | drivers/net/wireless/zydas/zd1211rw/zd_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_def.h b/drivers/net/wireless/zydas/zd1211rw/zd_def.h index 8ca2d0aab170..2f55e8deee82 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_def.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_def.h @@ -12,7 +12,7 @@ #include <linux/stringify.h> #include <linux/device.h> -typedef u16 __nocast zd_addr_t; +typedef u16 zd_addr_t; #define dev_printk_f(level, dev, fmt, args...) \ dev_printk(level, dev, "%s() " fmt, __func__, ##args) |