Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2280878rwl; Thu, 13 Apr 2023 04:27:27 -0700 (PDT) X-Google-Smtp-Source: AKy350bhCaJXqIu6wk3vrvhyfrYwc7+v599YoxSQtzdzSMF2n9VpZezrwA3bHhD+A3GokO26MDWf X-Received: by 2002:aa7:888f:0:b0:628:1274:4d60 with SMTP id z15-20020aa7888f000000b0062812744d60mr3365773pfe.21.1681385247118; Thu, 13 Apr 2023 04:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681385247; cv=none; d=google.com; s=arc-20160816; b=UteIze9XklOMb8w9izo/2NiNAnhJkQz8fCb5EFJIDaimSenZUeyt2gesWKCf64LxtL mG6C5FW+8mrvdj4yLen5vVvCdnn8C4Ir30C3+NkDNDN1I7yXWcHOe+uEbHqMhPplzBO8 Tj/sBhn/tqKzpp0N4TyVa8+WLxY09u8Ydu6aJLFYKSCvrPv77/gtYCPOaUFtfks11UH8 fTXAMi/hi/ZciM4TMwdF6LtIA0+IJoWtcYQkEEmKqI4NoT9wfywumejNfAhUJKsWqSnR GZdLNnHSWqWMq/c3VCW1cTGt8X/RUYhnTyDUfPKjD/OSoTLxPy29t28xgPgH1tZ4GoQP cqfw== 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=/6B2O88oaXFF+Kx+d+56dW/3gxmfP1W+eZNi31Lm8vg=; b=N0X8N1kGpd+QI/7CWaFd9EMKOzssmsKjESzqGNOTCZxXqbNcSt02Rw9PEQygMjDuNF QlOk6QnI+iV88rwZIpHfdd/3F6XZPvje5BrCRdMj1aTk1JqyAe6GOMxDk+kYxsiiDf8E imBD9q/keG+Ky3B8w8zf8R6QVb8A8NRmv+XhA2U7jy12MAYHA8IBIFJJDHN6u7Q60K36 jO3Mn+971ppzD7SHZ4/WaS8teih9Pz5KHW3Te2oesLJqZi7g37p5c7pnmKCzwLynDQWB Mvte6NFZrpgdwRmT2bMAL3gHBaVwxPR0i6frtcBLj3ozoU3PrlWIOrGsXhPHsz0enB6y ueyA== 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 o6-20020a634106000000b0051b15b58765si1732848pga.293.2023.04.13.04.27.14; Thu, 13 Apr 2023 04:27:27 -0700 (PDT) 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 S229597AbjDMLQL (ORCPT + 99 others); Thu, 13 Apr 2023 07:16:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbjDMLQJ (ORCPT ); Thu, 13 Apr 2023 07:16:09 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id C57405BB1; Thu, 13 Apr 2023 04:16:06 -0700 (PDT) Received: from localhost.localdomain (unknown [180.167.10.98]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 01C6518010E36D; Thu, 13 Apr 2023 19:15:58 +0800 (CST) X-MD-Sfrom: liqiong@nfschina.com X-MD-SrcIP: 180.167.10.98 From: Li Qiong To: "James E . J . Bottomley" , "Martin K . Petersen" , Karan Tilak Kumar , Sesidhar Baddela Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Li Qiong Subject: [PATCH 4/4] scsi: snic: Remove unnecessary (void*) conversions Date: Thu, 13 Apr 2023 19:15:11 +0800 Message-Id: <20230413111511.15579-1-liqiong@nfschina.com> X-Mailer: git-send-email 2.11.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no 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 No need to cast (void*) pointer to other type. Signed-off-by: Li Qiong --- drivers/scsi/snic/snic_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/snic/snic_debugfs.c b/drivers/scsi/snic/snic_debugfs.c index 9dd975b36b5b..06de583caed1 100644 --- a/drivers/scsi/snic/snic_debugfs.c +++ b/drivers/scsi/snic/snic_debugfs.c @@ -164,7 +164,7 @@ snic_reset_stats_release(struct inode *inode, struct file *filp) static int snic_stats_show(struct seq_file *sfp, void *data) { - struct snic *snic = (struct snic *) sfp->private; + struct snic *snic = sfp->private; struct snic_stats *stats = &snic->s_stats; struct timespec64 last_isr_tms, last_ack_tms; u64 maxio_tm; -- 2.11.0