Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp465945iog; Wed, 29 Jun 2022 04:04:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sryXaRnUicezFEjsQ85qa2H89XY82S+aDgFNXoVspDSAxjDHE2bALQ9yMRwt3Xd4EzMWip X-Received: by 2002:a17:902:ecc8:b0:16b:96b0:40b3 with SMTP id a8-20020a170902ecc800b0016b96b040b3mr5922392plh.65.1656500644380; Wed, 29 Jun 2022 04:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656500644; cv=none; d=google.com; s=arc-20160816; b=qYRXQMXLtkZYlKnsx9rRa6RGDbigmeuKyB6S6kuHpUvf8R0VeucRamdkmli+IcOnRB 95w/uvh1W5bVeWqdJIe5pNrk1IBN1aa1uG9IWFh49rLibOysYY8ebka5hBpI3uHirZO/ hRVsVKDcZ5aR/3zlHs3f0a7r9hFQBYL/fgn6TnRYF41UNEH89vhMQkX1R6BsiyQzGyVn 8ZmJdSwldS27lRqpI7xraiiDLbZmnEfm/QdwuOP5eHg+irVRjqvQpSp2o5zKZYYe10lJ tBN3a0GvLjrSB23dV5JykI+pPB12CbQNdn869Y1K10mamXPkWFnvGKPKo7C9wAWCjl3x mTpQ== 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=v+1Kh9yXYSF/SSlAxUUF7lfd7AbotnJ6XEUP9Y2jqwE=; b=iBeioHtYZFkWKflP/FwG+ZVY714dblUM7uOlllU2g0hNxcaem9NLe7A8oeTpnsHuKe 2M60QQWnUci3puRw8ytDhx7GNwdNQZp0Vp7MQsOlwfuP2yC3Cxu8KM3V0c9+QhQUXZ1i S604AepE6sVfliA+n6/62vWGk18Xxfk0W8kWhsaIMCQdNCkDHaviNeTNG0GCx+zrbaqC 7qjAZiAwnnHx08hRJdbv/GPFIu/ewv35UD1n+D/Yu+m6h/fGMt/qiT4pOAZqkWz7tjBY FMUm+WL2/jXub/Z6h82xCYMH/39AcJv5brfePFnm8i5SV8MBI5RVqgspAoLHmu9DGFV9 l85g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=bT696kWD; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p9-20020a635b09000000b00401baa5a3f2si966853pgb.326.2022.06.29.04.03.46; Wed, 29 Jun 2022 04:04:04 -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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=bT696kWD; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230338AbiF2KDp (ORCPT + 99 others); Wed, 29 Jun 2022 06:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbiF2KDo (ORCPT ); Wed, 29 Jun 2022 06:03:44 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D27043D1DB for ; Wed, 29 Jun 2022 03:03:43 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id p14so14636084pfh.6 for ; Wed, 29 Jun 2022 03:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v+1Kh9yXYSF/SSlAxUUF7lfd7AbotnJ6XEUP9Y2jqwE=; b=bT696kWD335zwtQvW47vd4+mT5xdlttfcuP/cfCSLGtb7YgSROS2L7ffdCL6lmeT9X hLO4kCeKrh9RhaoNZxg6Eb6G+AeKxnOiLYRUTEAnkTGswpNC6vnrXR6z0mf+a5G3eiBo qz29lWEkYZ+jCGe3KfM0543mgg0fJH1DNS32yfChg36ESaebBkp+5PiUj4TLvqXaNtAB hFiO0kxoSePedtkr8Bj6ref1wJrQW2YrtDSKlp8QvVVMHgn0EQdjXFyD+DRBJhVULj3G 3PMAGlJ4zKL0SJ3SmGf40soyRQiN8+kQzPniaDWJ4WGCcVg5SX+5l2znBCumkn7e5N/I ggLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v+1Kh9yXYSF/SSlAxUUF7lfd7AbotnJ6XEUP9Y2jqwE=; b=m71tDpWzZGfsFAIBMSVxWVOHm/mtRZ2pwANjgbd46fYDzhkDpr5NMO3Q6OXuqtsUEB 5QRaqIT3Db6Ktg02UPaF9EIGxAYY4xJH1F22BiKqMWeQF6QXRb+1ry/NalWTmgt1qnma 3HCzCPhpeQQKbSbMnxDuiFduV18ItgjMkwxBJjyotTusDNW1AuCOUBXPLQ2y4RmDdR2t JV+Tjm5m+jqKXfCvcgzwlBSnzZpxBClQLLBZA0HirnCOyy6wSigqHK0YUoqSVhyRXkzz ZCcCAS5VgzJU5X1g6H4NnA1xWd/6fTy65cdYnOPlp/ZECCvws0BqVhl4Y12/92gYqwVd e8Vg== X-Gm-Message-State: AJIora87gVop1nMsP0RhqyCfn7sAAS1BAzfGydKhUGvGETrtVpKrAfU9 ari0a5/tlri4q+WjFimyf3yeMw== X-Received: by 2002:a62:7b95:0:b0:525:8304:2f16 with SMTP id w143-20020a627b95000000b0052583042f16mr8194428pfc.33.1656497023394; Wed, 29 Jun 2022 03:03:43 -0700 (PDT) Received: from C02F63J9MD6R.bytedance.net ([61.120.150.74]) by smtp.gmail.com with ESMTPSA id u5-20020a17090a1f0500b001ed1444df67sm1696872pja.6.2022.06.29.03.03.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jun 2022 03:03:42 -0700 (PDT) From: Zhuo Chen To: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, intel-wired-lan@lists.osuosl.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Zhuo Chen , Muchun Song , Sen Wang , Wenliang Wang Subject: [PATCH] ice: Remove pci_aer_clear_nonfatal_status() call Date: Wed, 29 Jun 2022 18:03:34 +0800 Message-Id: <20220629100334.60710-1-chenzhuo.1@bytedance.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 After 62b36c3 ("PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls"), Calls to pci_cleanup_aer_uncorrect_error_status() have already been removed. But in 5995b6d pci_cleanup_aer_uncorrect_error_status was used again, so remove it in this patch. Signed-off-by: Zhuo Chen Cc: Muchun Song Cc: Sen Wang Cc: Wenliang Wang --- drivers/net/ethernet/intel/ice/ice_main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c index c1ac2f746714..6bf6d8b5a967 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c @@ -5313,12 +5313,6 @@ static pci_ers_result_t ice_pci_err_slot_reset(struct pci_dev *pdev) result = PCI_ERS_RESULT_DISCONNECT; } - err = pci_aer_clear_nonfatal_status(pdev); - if (err) - dev_dbg(&pdev->dev, "pci_aer_clear_nonfatal_status() failed, error %d\n", - err); - /* non-fatal, continue */ - return result; } -- 2.20.1