From patchwork Sun Jun 4 04:52:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 102942 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1978991vqr; Sat, 3 Jun 2023 22:10:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JNTkbQhs0S11EgA2ZfTxmS94d9dueAes6J6xgpkvdluwIBof8PWFf5eBr3ooD5FlYE5YD X-Received: by 2002:a05:6a21:338f:b0:114:f824:655 with SMTP id yy15-20020a056a21338f00b00114f8240655mr1289841pzb.58.1685855420500; Sat, 03 Jun 2023 22:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685855420; cv=none; d=google.com; s=arc-20160816; b=Io2nyaI0mJNqT5l3C9SoAhtIn0V0TDtRRxriy0c/KaOOzEJEScXScRPfyF81ecgWJZ Dc/m0fn9y7KtbpXMOGAfWC5kewldisOfbFmX4cYECYHdsYj3y8Ki7EUIyWU8j+ij8yXt JeiIt1LJJE0lVyMq+DwF24Yh05ijkir6UTa+nQdF7/0gVr8oryi5mA4S/VGMl4yZ6MXG Nk8y228tFazWZpwGXscUTqYb8t3ex+mBRue+ciUEWoRsyBrwZK79ePjaT9iwi2FOn01/ f9P7sxNOgr0qPXElY5qKzXvhOxAJRliGceV1hpw1z3mnJxDbsh6HBXUAGo0Y4KyujN9I rT3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lyyRlrC3KmRbFllkxLGkBpc9Qfqgsg8QHBWroitmBNg=; b=ZeaYbBft+ChVPx6fr+HfJI+0a25IgNLCpamSKki0HpipmZQZ2p3ZlTCeTRpDPU+JSE RQY/aGhmVADI1ipin+vPwN2MrthTgE5HWoOr57kf51ni2bowH2GVi8dxobmKWo8x9f1W FA1XzavYXV2zBGpQBP/npDEi9QoPxokoz+dXP8HIAEOAtio8or+fQ6KJFveJnKvFUX8G EuZwZvDYY7MZFytzriCqb4GGqrOwMghyyUEHsa/nvDIaO3Az1PN7Zcqktx6ybRU34qLP bgg11C1gHCI3ShaYjsnScgJRM0MfXuMAmiaQmc7aJOT0h4d2rbXkJCBdzPlb6Kt0TadO 4Dxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=BjuY3g6V; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j191-20020a638bc8000000b00535401db8d9si3664849pge.674.2023.06.03.22.10.07; Sat, 03 Jun 2023 22:10:20 -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; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=BjuY3g6V; 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 S230097AbjFDExF (ORCPT + 99 others); Sun, 4 Jun 2023 00:53:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbjFDExA (ORCPT ); Sun, 4 Jun 2023 00:53:00 -0400 Received: from smtp.smtpout.orange.fr (smtp-26.smtpout.orange.fr [80.12.242.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F400FD for ; Sat, 3 Jun 2023 21:52:57 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 5fjZqns8y8SAU5fjZqOpgA; Sun, 04 Jun 2023 06:52:55 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1685854375; bh=lyyRlrC3KmRbFllkxLGkBpc9Qfqgsg8QHBWroitmBNg=; h=From:To:Cc:Subject:Date; b=BjuY3g6VMj9Z54gwTuPn+Zznrg4H2rJPBowIME/+4rVatdQx6UCiJiqTEoU5bLoMn rlaVunUL0vtQ2lQA6mkbmCx2OoLs6JrezKqwp06PqILz6Hx2S5bYS3RTIiKMSbi9Hh RClM/PsViCQTwrpXTd+99qAP31Zk7wFkL4rKHS4rG+t2Qb0EizBJaXrq+yxGE71xKZ EZhJNZBWHYmZDcmm/o+Cw5u8DOtZLiv8b1fEV9cxl3J4Q5MDmB44dcjLd27RJr/5NE MPT/rxGbXjUQNz2j7pTpiYfeGWXAxypdz0GcP0ljt4szhIT86J99fW6V9xFQoyk7U8 Rctm0kGx3OEWA== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 04 Jun 2023 06:52:55 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET To: Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-scsi@vger.kernel.org Subject: [PATCH] qla2xxx: Drop useless LIST_HEAD Date: Sun, 4 Jun 2023 06:52:42 +0200 Message-Id: <49bb77624c9edc8d9bf8fe71d0c8a4cd7e582175.1685854354.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767747533852201692?= X-GMAIL-MSGID: =?utf-8?q?1767747533852201692?= 'new_fcports' is unused, so drop it. Signed-off-by: Christophe JAILLET --- Usage of new_fcports has been removed in commit 726b85487067 ("qla2xxx: Add framework for async fabric discovery") --- drivers/scsi/qla2xxx/qla_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 95ae754582e7..f1724c7d39d5 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -6220,7 +6220,6 @@ qla2x00_configure_fabric(scsi_qla_host_t *vha) fc_port_t *fcport; uint16_t mb[MAILBOX_REGISTER_COUNT]; uint16_t loop_id; - LIST_HEAD(new_fcports); struct qla_hw_data *ha = vha->hw; int discovery_gen;