Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13112570rwb; Sat, 26 Nov 2022 23:20:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf7EVz1rDm/ts+WolwNl91zKliEjcII/8IrVGeuQ4/t4V8kj6yuHQhuQmoeZ7LRfJCr2svtk X-Received: by 2002:a17:906:40d8:b0:78d:5966:b093 with SMTP id a24-20020a17090640d800b0078d5966b093mr23885050ejk.343.1669533641285; Sat, 26 Nov 2022 23:20:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669533641; cv=none; d=google.com; s=arc-20160816; b=pmRuOOorl99uOsMCzVnYyLY65gZm75rkjG+R2zjXboOb8MBOy9Ro+hxYLetjBeF93R lrarpALN47HfazbadFULFzLYYZ9ifXA59W5vfMR8I0MZatSH+xQxd5MEkpp5PqrKKc3e qNAOVlS2FTPJKubDXuA7/tNLVCJYrajS8asfKargE+kio99NZAyXVi7KSYZV05gLZpbC DKdbRorp/HkMDoXeeoRqShgrHbQuwdbrYZ434Gdv+OY/HiasrdVyDWWfm9Gr0e2V9Jrl RXiRcmJZEfPgFpBiZXJNSiKoDm9HASpoKAj1b8suaSPO+1o+qvD1I3UvWldZj8LaVDvj vEVg== 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:sender:dkim-signature; bh=72GXX8ZYM+/F11yUI2R0qGFMz7iU9xS9gHw3n6THSFw=; b=trJwGL/LhAuVrdotxtd2rfkBJgaZ1JQzKHeS7pp2d0mNbP4w991C1s5iUFBzAZXz0O 093tNTlHC1N3UjYIySeVZSlzNf7fZA46ttdiU7Ah3020ee7H8AgP/q9wFos8nAEuc7Zk E13BUh+vR1DhWYnmLRUi/089ctMmfEkHKuJeqXDOCiXcRev0wT1zmsWjvkWlnlrCJgil h49fO51aaU7S76yQXmXHu9F1q0BvQLwK9rYd4Vu2Pw1eXS6kmVsYEXMC9hqFT4tVBhmP r6z/hO9rVSWUq8UutHbQTj/lYzqL02A4zVFA2OhmSs3ZRVHDYInaaOgWl904a5voNwFR vHvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DuS4Vioq; 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 y10-20020a056402440a00b0046289aad428si9305072eda.496.2022.11.26.23.20.08; Sat, 26 Nov 2022 23:20:41 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=DuS4Vioq; 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 S229510AbiK0GX6 (ORCPT + 87 others); Sun, 27 Nov 2022 01:23:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbiK0GX4 (ORCPT ); Sun, 27 Nov 2022 01:23:56 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50A2113E85 for ; Sat, 26 Nov 2022 22:23:50 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id io19so7386798plb.8 for ; Sat, 26 Nov 2022 22:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=72GXX8ZYM+/F11yUI2R0qGFMz7iU9xS9gHw3n6THSFw=; b=DuS4VioqpRy9NFmVGMIemRyEgh/7Ge23dr43cJylPR/vs811Zoy67oR1VPL2C5c9XY 3RWh1CgOyX9gjBH9reYmNTif46fvJS0LHYNkcL5qpPebnOyeY5ZUS5FcC7GwUFDWFUM0 qKJdj318/PLSNlzwvg9hcolblHtohCtt222C0mz+WiRHl6pFsu+iBYUxlorWiComrXnp HyEWbpbWbXdalr7pgIVbhU7A6Cn0YiGb8Tf6eWbCDzliE1SPS6K5dnLWN03SeeEG0xFf wq7hHxnAPKQiTxo0Tps7f7qKArP4ulSPk9tRb2Bv0+Nof1jELdLlZpvKTbAUbP3Fi/vO 8Z9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=72GXX8ZYM+/F11yUI2R0qGFMz7iU9xS9gHw3n6THSFw=; b=c5z3PnrJgeZHqXz8HqtBJVWUN9iJJH4DCpuqZIQF0CZq8i76A1ubN74dN9Bdqa+pxm MMfEtOS98SbbtzrqsfnZJFOVmswkn+DOpSyxE7ILcfUm8G4C4e7ambWBGIpesLsa401O 36dte1p1ofLhDney7KAXmbkaPNFj+sR9rfa/mJHt63DWXv4UxciDx3lvKP1IagxD2pc2 GZTMDlXje4f/uyMuvAdB1vkqsrHhcHv74bVG/p1aYlQe8AQvzlS0b7yvUXEOwls7UxSj T3xdqhkUrQSCorp46+1i5oyX9FbGWS/CEusw1X2kdt/ld358oNqrbIlmtmLnbYNe3ZOY C8LQ== X-Gm-Message-State: ANoB5pkYAPfP7CpBDcG6bRFPlQA1MZXUvMR00D/lbfxEORrBRpN2g5Oy Pdn/VX3D4CALkg5SG7iVXtc= X-Received: by 2002:a17:902:ef47:b0:186:a394:aef7 with SMTP id e7-20020a170902ef4700b00186a394aef7mr40034160plx.79.1669530229649; Sat, 26 Nov 2022 22:23:49 -0800 (PST) Received: from localhost.localdomain (124x33x176x97.ap124.ftth.ucom.ne.jp. [124.33.176.97]) by smtp.gmail.com with ESMTPSA id z7-20020a1709027e8700b001769206a766sm6177918pla.307.2022.11.26.22.23.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Nov 2022 22:23:49 -0800 (PST) Sender: Vincent Mailhol From: Vincent Mailhol To: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "H . Peter Anvin" , "Kirill A . Shutemov" , Josh Poimboeuf , Kuppuswamy Sathyanarayanan , Al Viro , linux-kernel@vger.kernel.org, Vincent Mailhol Subject: [PATCH] x86/asm: Remove unused COMPILE_OFFSETS macro from asm-offsets.c Date: Sun, 27 Nov 2022 15:23:35 +0900 Message-Id: <20221127062335.330758-1-mailhol.vincent@wanadoo.fr> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Following [1], the macro COMPILE_OFFSETS becomes unused: $ make W=2 arch/x86/kernel/asm-offsets.o <...> arch/x86/kernel/asm-offsets.c:7: warning: macro "COMPILE_OFFSETS" is not used [-Wunused-macros] <...> Remove COMPILE_OFFSETS macro. [1] commit debc5a1ec0d1 ("KVM: x86: use a separate asm-offsets.c file") Link: https://git.kernel.org/torvalds/linux/c/debc5a1ec0d1 Fixes: debc5a1ec0d1 ("KVM: x86: use a separate asm-offsets.c file") Signed-off-by: Vincent Mailhol --- arch/x86/kernel/asm-offsets.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets.c index 437308004ef2..cf2e02bafbef 100644 --- a/arch/x86/kernel/asm-offsets.c +++ b/arch/x86/kernel/asm-offsets.c @@ -4,7 +4,6 @@ * This code generates raw asm output which is post-processed to extract * and format the required data. */ -#define COMPILE_OFFSETS #include #include -- 2.37.4