Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6204633iob; Tue, 10 May 2022 12:47:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4fNU2QejkjFDgA0oDEAKX1vdMEvby2A721+cuz/j31kj4AyTsyikwL8kgd5VnTeSpEqgg X-Received: by 2002:a17:903:2406:b0:158:f6f0:6c44 with SMTP id e6-20020a170903240600b00158f6f06c44mr21943401plo.88.1652212034536; Tue, 10 May 2022 12:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652212034; cv=none; d=google.com; s=arc-20160816; b=Eec6Vut4m/du2AWOOUL1MWB4cdaTRLsdeM4+P6QxITMiQuF17uLw9p/kTHcB1Cg42O 40njZyVDfeLOM0buIKenx5/raaOHkkYiQ8bwj1VcWXmcRcPmdIQ0Fj2uSxzi2MlL6n9H TmfVQVRNU8FjtSje4hgYI6Aq3f6Yo1Dq+K1wgzApTQ1s40lVn0gEnVGsLfPWE64UONJC ItJy5bLsMiii2VRjscRg2Inb4ENMSWIx+p41CSCfNK808DayCP3592CLDwyRvm9APwmN rZ3nZ4gVG7gYBAVmsI4CwKiWUVxyslXJRSNNtXx+OneVAi4ogaCYDSSMu6UBv08t54ip NoIw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=queUwuT+5+YiKTx1BgfEe6u16wi4fHCrKXT4lZ2ozFw=; b=C3ewTT47Tqkn+XPb2arKFFf/PSVTn9We0SWaVRVIqAdDhet1bFg5N4y/4rcGddrTGE A25iNYGhErlTvfImNW5BbUY03+Uv4VsvRqYPdwRxL781NvknPgXfueIhgL6Z2LfikDqO 0bwfv7QseoWWGQ4STqk7WcmODJ+m4Ihv8tr9qp187wD9uaSs2KT07v7ZP8XkxhFlDkq0 zF5Dgd+UmePCcgGCVC1uUJ0+kskMRy4JV3s+I4/OayTrbutd7huMaaoqwRzYb3sw/AqW F+6q7TTjjJDSKO0EYZOcIlrE4oRy5Fc5yxtNzO/vCyZNkHYTUQbTB9HyFmEaEkZs1f3L 0OwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b1YprPar; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a170902c40100b0015cfa9a0a25si5193954plk.361.2022.05.10.12.46.58; Tue, 10 May 2022 12:47:14 -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=@linuxfoundation.org header.s=korg header.b=b1YprPar; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244950AbiEJOOL (ORCPT + 99 others); Tue, 10 May 2022 10:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245074AbiEJNrV (ORCPT ); Tue, 10 May 2022 09:47:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 767ECAAE04; Tue, 10 May 2022 06:34:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2D248B81DA2; Tue, 10 May 2022 13:34:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C2FFC385C2; Tue, 10 May 2022 13:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652189693; bh=UmASr+hISXnks5NrTZwJxMMFLlbH+sNHHGWZkhNaW6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b1YprPar1HfVJGJjLbY2KBr7KepWbSUvyrPM+NpQbovKD3DhaLj20ofgT3jemEvj/ N8wZZgj3P9+QFTkb2Jedp1kCBb0HfcoF+jXeOUY4hrvZjPGv8tUz8BKkk8Sg945eu+ KKmBDwPDrIadIAY4tni8KHcAd83tzn2Uq9HGYiRA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, pali@kernel.org, =?UTF-8?q?Marek=20Beh=FAn?= , Lorenzo Pieralisi Subject: [PATCH 5.15 134/135] PCI: aardvark: Drop __maybe_unused from advk_pcie_disable_phy() Date: Tue, 10 May 2022 15:08:36 +0200 Message-Id: <20220510130744.239141261@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220510130740.392653815@linuxfoundation.org> References: <20220510130740.392653815@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 From: "Marek Beh?n" commit 0c36ab437e1d94b6628b006a1d48f05ea3b0b222 upstream. This function is now always used in driver remove method, drop the __maybe_unused attribute. Link: https://lore.kernel.org/r/20220110015018.26359-22-kabel@kernel.org Signed-off-by: Marek Beh?n Signed-off-by: Lorenzo Pieralisi Signed-off-by: Marek Beh?n Signed-off-by: Greg Kroah-Hartman --- drivers/pci/controller/pci-aardvark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pci/controller/pci-aardvark.c +++ b/drivers/pci/controller/pci-aardvark.c @@ -1605,7 +1605,7 @@ static int advk_pcie_map_irq(const struc return of_irq_parse_and_map_pci(dev, slot, pin); } -static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie) +static void advk_pcie_disable_phy(struct advk_pcie *pcie) { phy_power_off(pcie->phy); phy_exit(pcie->phy);