From patchwork Fri Oct 20 11:37:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 156033 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp990972vqb; Fri, 20 Oct 2023 04:39:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGX+6Z01CcB0dlb3waqA7xvRllSmRB0xKCilHRQ2T+IaOXpjNNi7ogB0hWgZj8+PMxWd0UD X-Received: by 2002:a05:6a00:15cf:b0:6b1:b5c4:a8b0 with SMTP id o15-20020a056a0015cf00b006b1b5c4a8b0mr1714432pfu.23.1697801944229; Fri, 20 Oct 2023 04:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697801944; cv=none; d=google.com; s=arc-20160816; b=TYTi2frPYHVTEDJ5quvUN/hA8Z50alqOELHXCpkujsZ2h2UKmgcc3NkUR7fqWIm1nk OdW6FBblNjHOevzDg5Y7aHJPRXk7QAlBqctQ10i2ct24YKFDEHbbEa1BPT5euzX+Tpgi y16g6k/MJjaaRdTnd9/WarARGRPogwpsSLTPVEbNUlzD8/q7KHSzPwJjGMwoCduXyIWr OvfpS1tiY2O9oI+1t7FiNQ2dvYRgX+VcEI6UcbJZXbzvTzyStBtp8MovwMY2GTS5UGr7 +9grZFuCWHvCl5PW8R+DB5cvxGZISuO/wjFak/a6Yl34SfvekGTpN4nr3zvs2PNneU2k wh2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=E2zLq86KiWPHZVtABoukh9mWUINF3BOdIexfBg+if48=; fh=LhtFb55Ca2eFOiA1tkBIXz3HDfOKD9+kLL3OI/S54W8=; b=UBfT4W0R84kVnTkKOIFCorctxpn0a/RVOrAOcXFlBsRsVJgC7lml/5GAVDs06Y2NcG Xi/qTpyFtKX2iqsnsmSeBuFwutWBbUkWV+hiqBecH8c4j7yGpmnsakTpaiiELUkxwAlj 2F3ESSKdYHOioBk7SaH5igvFbWWWu7MoOWazUeFdmFsGxW2IOJKjSXwgL/7o03FatX6v Z3xPCVc5fD9eCKt+9VuUPdC7FZSjU3VJpLoScYqily65XTgmp0mJcE9x8HYvpgg8e86r +bW4m7JBj2dFvZ8Vq9OnrVl2fEP2Tj/4LWLWRk0Tlr83qstWovmC7ieoI6DGX7IPmvOC sGCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wdV5rTfc; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id q15-20020a056a00084f00b00690d42e3347si1795849pfk.157.2023.10.20.04.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 04:39:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wdV5rTfc; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B847E832B71B; Fri, 20 Oct 2023 04:38:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377250AbjJTLhf (ORCPT + 25 others); Fri, 20 Oct 2023 07:37:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376988AbjJTLhW (ORCPT ); Fri, 20 Oct 2023 07:37:22 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEB1CD55; Fri, 20 Oct 2023 04:37:19 -0700 (PDT) Date: Fri, 20 Oct 2023 11:37:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1697801838; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E2zLq86KiWPHZVtABoukh9mWUINF3BOdIexfBg+if48=; b=wdV5rTfcHJRKNV7y6Q7PlOX8zU0lfDAnmhqLP5g2jK2WaDzIbQYaEqAE0tpT4edmeqAlNu EJivVxBeuP0RDr4qr9/R6qxsWguyVrv6GESpcfX2vCWQc6a3tdntNADFijmq6mesAUXmL8 JOqk2bES20oUWirJxmDb+OTaB8kmH+p4eAusAsmWN1ZCtyvbRF8hc/kJhJNc3k8Px4Tq7H 8Wwl0Z38HjIc+BkIED9eVSr6DuV46EOL9EodFrHwzLPGn/YOKznK5i2vN+z98uJPxmi+Xi A0sCwTXDDbx7HUcklrkpNU83opXabnCtyw99pxMSAj2QZT8MZUW7WSgA/IXwjQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1697801838; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E2zLq86KiWPHZVtABoukh9mWUINF3BOdIexfBg+if48=; b=x3bihltNjOqw5ObeQi4pNOHojDTCID1EcqYukFxHCgxF2bgHw5az5xIwTJnqWwwDmMesM6 2TgUgEpHhGBmfMDg== From: "tip-bot2 for Alexey Dobriyan" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/bugs] x86/callthunks: Delete unused "struct thunk_desc" Cc: Alexey Dobriyan , Ingo Molnar , "Borislav Petkov (AMD)" , Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, x86@kernel.org In-Reply-To: <843bf596-db67-4b33-a865-2bae4a4418e5@p183> References: <843bf596-db67-4b33-a865-2bae4a4418e5@p183> MIME-Version: 1.0 Message-ID: <169780183378.3135.13180464061966074283.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 04:38:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780274371547237974 X-GMAIL-MSGID: 1780274371547237974 The following commit has been merged into the x86/bugs branch of tip: Commit-ID: 321a145137653188b8bf9a6b6fc60e8ccb184392 Gitweb: https://git.kernel.org/tip/321a145137653188b8bf9a6b6fc60e8ccb184392 Author: Alexey Dobriyan AuthorDate: Sat, 14 Oct 2023 19:05:28 +03:00 Committer: Borislav Petkov (AMD) CommitterDate: Fri, 20 Oct 2023 12:58:48 +02:00 x86/callthunks: Delete unused "struct thunk_desc" It looks like it was never used. Signed-off-by: Alexey Dobriyan Signed-off-by: Ingo Molnar Signed-off-by: Borislav Petkov (AMD) Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/843bf596-db67-4b33-a865-2bae4a4418e5@p183 --- arch/x86/kernel/callthunks.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/kernel/callthunks.c b/arch/x86/kernel/callthunks.c index faa9f22..e9ad518 100644 --- a/arch/x86/kernel/callthunks.c +++ b/arch/x86/kernel/callthunks.c @@ -48,11 +48,6 @@ EXPORT_SYMBOL_GPL(__x86_call_count); extern s32 __call_sites[], __call_sites_end[]; -struct thunk_desc { - void *template; - unsigned int template_size; -}; - struct core_text { unsigned long base; unsigned long end;