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
This commit is contained in:
Kalle Valo
2024-01-30 17:15:53 +02:00
parent 1209f487d4
commit 2b59c9c30b

View File

@@ -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)