From patchwork Mon Jul 10 23:21:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13307881 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D94DEB64D9 for ; Mon, 10 Jul 2023 23:21:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbjGJXVp (ORCPT ); Mon, 10 Jul 2023 19:21:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjGJXVo (ORCPT ); Mon, 10 Jul 2023 19:21:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0C8D9E; Mon, 10 Jul 2023 16:21:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5456B61236; Mon, 10 Jul 2023 23:21:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 897F3C433C7; Mon, 10 Jul 2023 23:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689031302; bh=0ZZzAlML7PigSYIRwkyWGmOeNW5UQGLxmRIiOlnen3o=; h=From:To:Cc:Subject:Date:From; b=bIL6XKUt8RG31HcS15ahZRfdOQmvVbNkmtd2+Cx3ezDsVLDdgPBiJuF9+YEVlfea5 VzI4BSqQaVNU+uatKjMcOXzW/rCiNI87ipZJw6EyWooMDB/lRO5BxFjDQuMjyT+UDd /KJM7qXX42KlIIUtjwU2w4bhaPtYL/gjsi4kFJII4jqalchP/2BA56dToHdqrY60Xx 14XdoZ0+6mO5P1H+xDjUcirb5LWlMTsq5O10a9XIXPGr8SFsj/BE5PMvu7SNWHTWmr vs0igRzgiAjyG98DMzT7raGU+8qDsqcg+WuqDRDqYg5UX9j3mCJ0tyozp5xB4oz1Py S8RpdFcFwOZGA== From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Mahesh J Salgaonkar , Oliver O'Halloran , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 0/2] PCI/AER: Remove/unexport error reporting enable/disable Date: Mon, 10 Jul 2023 18:21:34 -0500 Message-Id: <20230710232136.233034-1-helgaas@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Bjorn Helgaas pci_disable_pcie_error_reporting() is unused; remove it. pci_enable_pcie_error_reporting() is used only inside aer.c; make it static. Bjorn Helgaas (2): PCI/AER: Drop unused pci_disable_pcie_error_reporting() PCI/AER: Unexport pci_enable_pcie_error_reporting() drivers/pci/pcie/aer.c | 15 +-------------- include/linux/aer.h | 11 ----------- 2 files changed, 1 insertion(+), 25 deletions(-) Reviewed-by: Kuppuswamy Sathyanarayanan