Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4442228rwd; Sun, 4 Jun 2023 05:35:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JBmaZF726SO98FvjNjwyk8yiLqv2fT1/TdKoFDA+32BclqDNRkvsuEuSVJGXRL/fE4Fzf X-Received: by 2002:a05:6a20:72a5:b0:10f:9bea:5a61 with SMTP id o37-20020a056a2072a500b0010f9bea5a61mr5231022pzk.2.1685882102818; Sun, 04 Jun 2023 05:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685882102; cv=none; d=google.com; s=arc-20160816; b=tDzU437bQYnws5HcQb90lCSC1QtCIzwLeJbNuEulj5jXDmBHD0s8kZsKzwNW/KREjY 4FBulcQ2GBKlzfyijYhzMq5jgJrY0XF7vPnBtySOs2lUbZ3ix/4yQSbwFKrNI8pDUZPv WYVrpWVUx0OlwzToSVRiHwTJFf9d7fvRGpfv2hF9q00ZVZ2U5a7H3yU8MfUWNXvhYYP5 gt7kj56FkvdAhvc2AA/QyX+sHhX1TDBIygYIKveWeI3b5Yxo9QpMerv5qBwBVL7dqP+n zDzZPntQQ4dw5mpLVIxEeRgZP8AohL/I3UPioJd9Bqa0Zn+s7yKZsjh85v3W9blCr5xp RI1A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4bJflcJlGAugVDPpSX1OH5WDNgjOC+VFuKrhAQwMRcU=; b=Bli8wRWY5hZDp39LrBpm/hK591hfEzlAffCgDYzH6jLyhEBpRp8KaVihw8m2jttA/p X1nsJzmFlVB7s+mn2Tq2LvKASG43dtSbZ8GP5N36v3Z1nvctQyZM+wlzC174XZhPwGv2 G0YV7oGyVyj0Eieaf8ijuoLi2y/8cU4RTfm1/TKIm5kZ6i4rWa1yvID33/ax3WMsXIVG iGZ+HV7ugTl/F8w4S4MgvxeCh3V3Y+9oXgPY+sCYqOHgHpHoIUkdw9aDiTSRpjXsmpN2 GuXCWCkURLDgA/GshQj3kIeSpHMQa0ooijdbvyrwasIQ6jvHevkP44yAwyKV6c/nvV5R 1b/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=JqvH8eUi; 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=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y24-20020a637d18000000b0054290a76b1csi4044758pgc.112.2023.06.04.05.34.48; Sun, 04 Jun 2023 05:35:02 -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=@crapouillou.net header.s=mail header.b=JqvH8eUi; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230417AbjFDM1R (ORCPT + 99 others); Sun, 4 Jun 2023 08:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230487AbjFDM1O (ORCPT ); Sun, 4 Jun 2023 08:27:14 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEA0FB5; Sun, 4 Jun 2023 05:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1685881625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4bJflcJlGAugVDPpSX1OH5WDNgjOC+VFuKrhAQwMRcU=; b=JqvH8eUiOElpSqMVcgKMQrKSuZSdvWmTf88YMdix3ODjmaEnQe2d/9wmdCLfDRGNWbKAAF si2Z+ZxJfZT98oDJjyFYkqTKJHuAkcwtQ0sIA4xiBfRQHcfP2HVG/8zk4qbZduFCTqAxpC 12jioFl0IDKozCSfZvDSrhQOnabGerc= From: Paul Cercueil To: Thomas Bogendoerfer Cc: Paul Burton , Siarhei Volkau , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, list@opendingux.net, Paul Cercueil Subject: [PATCH 2/4] mips: ingenic: Remove useless __maybe_unused Date: Sun, 4 Jun 2023 14:26:53 +0200 Message-Id: <20230604122655.69698-2-paul@crapouillou.net> In-Reply-To: <20230604122655.69698-1-paul@crapouillou.net> References: <20230604122655.69698-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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