[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20221223090858.9109-1-zhoujie@nfschina.com>
Date: Fri, 23 Dec 2022 17:08:58 +0800
From: Zhou jie <zhoujie@...china.com>
To: mchehab@...nel.org, wangqing@...o.com, hverkuil-cisco@...all.nl
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel.nfschina.com@...ts.nfsmail.com,
Zhou jie <zhoujie@...china.com>
Subject: [PATCH] radio/wl128x: remove unnecessary (void*) conversions
The void * type pointer does not need to be cast.
Signed-off-by: Zhou jie <zhoujie@...china.com>
---
drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/radio/wl128x/fmdrv_common.c b/drivers/media/radio/wl128x/fmdrv_common.c
index 8a316de70e6c..cbd49dff6d74 100644
--- a/drivers/media/radio/wl128x/fmdrv_common.c
+++ b/drivers/media/radio/wl128x/fmdrv_common.c
@@ -1442,7 +1442,7 @@ static long fm_st_receive(void *arg, struct sk_buff *skb)
{
struct fmdev *fmdev;
- fmdev = (struct fmdev *)arg;
+ fmdev = arg;
if (skb == NULL) {
fmerr("Invalid SKB received from ST\n");
--
2.18.2
Powered by blists - more mailing lists