Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp330271rwj; Fri, 23 Dec 2022 01:56:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXvqDF4n/Mmi3GLeP7qdKUR4ndXBTMkfqpiYeZ9DfHWsDc1PGZFavmYq3VwQPzkzjfbFHXmb X-Received: by 2002:a17:902:c942:b0:189:c93c:e5e6 with SMTP id i2-20020a170902c94200b00189c93ce5e6mr14239131pla.33.1671789370876; Fri, 23 Dec 2022 01:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671789370; cv=none; d=google.com; s=arc-20160816; b=fyuE4QPjHgTNmIl53Y8PuBzQU/Y5ULdYC61DbVl67x9ejlFYxs4omkQqj08fpY9uBf juG6tGHBHLbhzfKw1eqx64umxKxqKanTFljPj5DHEjx647m74/TNkqoEo3DHprujnKfr L/dBdPwbLzRn/JPT3DaKr9r7JFMVUI1fY5WXOX7rySV4LYkuZ+reEJBFsn+vLK58FMQZ +cgARLy6cR6OPGrB1HNUxI36/rGoY18a5pxtKtRKnSvWNMk1lZ8um/N8O1ibCpTf0ucy AFPnV1qnaFT2SwtK+WAoTAhu4lN2HlTwRRE0GKfSiqsXfWS2Uz4yA9aDjx3zC6h4rRM8 fHcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=En2sp3AU1GWsJLmGOYMD8J5N3WYGFT3ZsT3cOq+RyEo=; b=pAFylagDky0VUU0mqIZpr2FGjS0EiKjxPIFzGLL5mGekluRiZ9w6kFSti2dQeI5cHO pCImLPM+56Vyu645CFbvPdmce2sxwr8403qu2tdikKQKT6sjR8LktBGQZafdmxkuajE1 5lCRUqIiysCUgy1wzTOqjuiGzYnCLMhUI+HGQVjdgjVUrMu13CqI5g3S/MmFdkHsbp7l mJWHwDjyE9X6pe5CjJDNUH0NwJ1+Tkyn1QC8pmSDiKj6PhJWx/e2WxrRIATnkhbB1+AC Snh0G/gyFiy9MzZx89fDnMY0LfY19KhdChpdvm4S3jtD80v4BOj/OFbXxy8PWaEDDEZE mE+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a170902e74700b00189574de848si3301579plf.170.2022.12.23.01.56.02; Fri, 23 Dec 2022 01:56:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236166AbiLWJJI (ORCPT + 67 others); Fri, 23 Dec 2022 04:09:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236165AbiLWJJF (ORCPT ); Fri, 23 Dec 2022 04:09:05 -0500 Received: from mail.nfschina.com (unknown [124.16.136.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E86BC36C66; Fri, 23 Dec 2022 01:09:04 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id C628A1E80D9F; Fri, 23 Dec 2022 17:03:54 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DEiGMC8ZSAX4; Fri, 23 Dec 2022 17:03:52 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zhoujie@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id E08471E80D96; Fri, 23 Dec 2022 17:03:51 +0800 (CST) From: Zhou jie To: mchehab@kernel.org, wangqing@vivo.com, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel.nfschina.com@lists.nfsmail.com, Zhou jie Subject: [PATCH] radio/wl128x: remove unnecessary (void*) conversions Date: Fri, 23 Dec 2022 17:08:58 +0800 Message-Id: <20221223090858.9109-1-zhoujie@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The void * type pointer does not need to be cast. Signed-off-by: Zhou jie --- 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