Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2268116rwl; Thu, 13 Apr 2023 04:15:13 -0700 (PDT) X-Google-Smtp-Source: AKy350b0pDhrVcvlnCH3aciGc2Lj80KskIEBE1Lrvty+BA/QwywRUtOT94aA3a0lbBje2XSW4qja X-Received: by 2002:a17:906:940c:b0:931:d350:9aef with SMTP id q12-20020a170906940c00b00931d3509aefmr2448526ejx.25.1681384513307; Thu, 13 Apr 2023 04:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681384513; cv=none; d=google.com; s=arc-20160816; b=fA/qqn13oH5UqNLZ5VF9pkZ4sgOQ7Ss9jGfRez1XPhf2vJr4hGMu3gxstgEj+Xmmpe uz3aQqnkAtapytyN3m+2Wxv0LofmgmNFUQO+shv27T8d1g7qORKjArveWt7iEMvuNz/s ZqibMMm51oqIm9LIWoTZzcmqZ1D7o4K8JNEbLb+PLfxHzR3KmMpeT0CHFf3d0fbxJfyj qKxBjhJlJ3DGcQj0FghGWrOtFcxmPQN1XwEOoU4JvlTsH8OR9Ph529HDLLjitbWcf+ru Wf5Q0nz7n74+4uhJ2xbE23OryoL6C6sALQ5g3zZ4cr/uZzHyuenHhqCvNboOxSJopZ0A Lh7A== 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=+1k/4MkaGw/+BqWRgXDTGY/9CeXcA8ocyLPJAF5lFzA=; b=reAS+wLiNiKnJtQquDIA48GO3BBhI5ncrstKh8uMoMEiGUvWHHtVDUJCCiIKcJIpNe 2D1o27f8MsEgLbPfHAigOC9mANW7RZpVBLAvZqREfuOPQSUJFLUpX6i52VPE2n8Y6hQo 3+t0eQKJqwz1c1VlqO4FZvJEokADYrzl8PI4/lXWY1weTfWAwlK278tfV+k+JosG+KBF d9JmVTVdYvLrdbkGEIYxlaZtuKYVtI6B5TtXgVniRfe96PH1ww93K1CgMB4c8iGIIEUn R4hJOUsXM1YLWowCUVya2Tjg+KMU/w4XUa/ekXo0T0zkAijJvpEemn+w+1+Xl/TSqt7Y kx7Q== 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 ay8-20020a170907900800b0094e1764b096si1582988ejc.482.2023.04.13.04.14.48; Thu, 13 Apr 2023 04:15:13 -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 S230142AbjDMLNm (ORCPT + 99 others); Thu, 13 Apr 2023 07:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjDMLNl (ORCPT ); Thu, 13 Apr 2023 07:13:41 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id D930A59F0; Thu, 13 Apr 2023 04:13:39 -0700 (PDT) Received: from localhost.localdomain (unknown [180.167.10.98]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 0C39418010E345; Thu, 13 Apr 2023 19:13:37 +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" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Li Qiong Subject: [PATCH 3/4] scsi: csiostor: Remove unnecessary (void*) conversions Date: Thu, 13 Apr 2023 19:12:48 +0800 Message-Id: <20230413111248.12279-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/csiostor/csio_lnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/csiostor/csio_lnode.c b/drivers/scsi/csiostor/csio_lnode.c index d5ac93897023..ff9cd26703aa 100644 --- a/drivers/scsi/csiostor/csio_lnode.c +++ b/drivers/scsi/csiostor/csio_lnode.c @@ -782,7 +782,7 @@ csio_fcoe_enable_link(struct csio_lnode *ln, bool enable) static void csio_ln_read_fcf_cbfn(struct csio_hw *hw, struct csio_mb *mbp) { - struct csio_lnode *ln = (struct csio_lnode *)mbp->priv; + struct csio_lnode *ln = mbp->priv; struct csio_fcf_info *fcf_info; struct fw_fcoe_fcf_cmd *rsp = (struct fw_fcoe_fcf_cmd *)(mbp->mb); -- 2.11.0