Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1761419rwd; Fri, 9 Jun 2023 01:33:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ios1OUuwG4Px8QGPoAISpVt0tmQ/ercXjCDbQg+fiAjeCBxjZwQvzqlbWXcFclrCBjYVt X-Received: by 2002:a05:6830:d3:b0:6b0:c62e:7941 with SMTP id x19-20020a05683000d300b006b0c62e7941mr845838oto.17.1686299610492; Fri, 09 Jun 2023 01:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686299610; cv=none; d=google.com; s=arc-20160816; b=QNSIeZFMyYFdZEA8nhcFX/KAtRhAG4P8JAyVs4rN4I7Vowp+tCxLVO1VvMt6TTKVzp t5JR4yUZlME7rYOfQxoC0MZ70v88av4KttxQ+8GxJ9xZCsK94VFscgQ1dbZtTow5p374 a5zTrpOefCpU9Tzj/Qu4vLqonupMwTo1lcseKcWU4kpMUmnB9aTFDA4zKDkG7kaXgzfJ BcD4CscJRkw9UxoW7CUjzFWtAKbl7ktLO41Yy5+6awujy7d1YndKM4n+6qvEqjupf64k 8ahv+or2hrsfQ8cJPUVgzspMRpGGvHEu4pTeDiPmQHzqmcRi3pT4+tQ6Ct6LCJq4tEFT pL4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=o99zF3Bt2+VAi/6kh51z6kYdn/Nz1rKxujCI3vgAe1I=; b=bflVnl+2ld3nvrmgELuHbmTH1Y0uMhmJFUNWXmuBesIlHF1y6nPN5uN5KEqRgkt1c/ 6ID+tmk5Ov1OUNwszOB6pzEjcRM2v0nFoKq22EUB3w46saZkmQ7Pw2B68nRAQN1tFKJx CG8IfbTYKxCBtewZrp9goLWPYvvByVq1e3R6MlUW+yBwTWqQgoy6+mA696LfGYFI3cX6 wsTe5XvkDz6m+qRUzfTmrq9QHCOx0RHlDAdwrUg6awTe1OiA6Wzji8gx+JMhk359JwTq y0iZz83Oibp0yZ6+7E1nTrkrtZPUuX6C7YGx8N/ZhUtade+28L7TkGmgtkCUmNPVk2ZN DfJg== 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 a8-20020aa795a8000000b006501b3c2009si2169497pfk.58.2023.06.09.01.33.16; Fri, 09 Jun 2023 01:33:30 -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 S240732AbjFII1v (ORCPT + 99 others); Fri, 9 Jun 2023 04:27:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241424AbjFIIZx (ORCPT ); Fri, 9 Jun 2023 04:25:53 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C62B43C1B; Fri, 9 Jun 2023 01:24:52 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1q7XQE-0004Jv-07; Fri, 09 Jun 2023 10:24:38 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id B03E5C02EE; Fri, 9 Jun 2023 10:22:57 +0200 (CEST) Date: Fri, 9 Jun 2023 10:22:57 +0200 From: Thomas Bogendoerfer To: Paul Cercueil Cc: Paul Burton , Siarhei Volkau , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, list@opendingux.net Subject: Re: [PATCH 2/4] mips: ingenic: Remove useless __maybe_unused Message-ID: <20230609082257.GH8160@alpha.franken.de> References: <20230604122655.69698-1-paul@crapouillou.net> <20230604122655.69698-2-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230604122655.69698-2-paul@crapouillou.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,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 On Sun, Jun 04, 2023 at 02:26:53PM +0200, Paul Cercueil wrote: > These flags are useless in this case as the code referencing these data > structures is always seen by the compiler (and not behind #ifdef > guards). > > Signed-off-by: Paul Cercueil > --- > arch/mips/generic/board-ingenic.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/mips/generic/board-ingenic.c b/arch/mips/generic/board-ingenic.c > index c422bbc890ed..7a4fce06875d 100644 > --- a/arch/mips/generic/board-ingenic.c > +++ b/arch/mips/generic/board-ingenic.c > @@ -117,14 +117,14 @@ static void ingenic_halt(void) > ingenic_wait_instr(); > } > > -static int __maybe_unused ingenic_pm_enter(suspend_state_t state) > +static int ingenic_pm_enter(suspend_state_t state) > { > ingenic_wait_instr(); > > return 0; > } > > -static const struct platform_suspend_ops ingenic_pm_ops __maybe_unused = { > +static const struct platform_suspend_ops ingenic_pm_ops = { > .valid = suspend_valid_only_mem, > .enter = ingenic_pm_enter, > }; > -- > 2.39.2 applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]