Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp327403lqo; Wed, 8 May 2024 00:27:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKerqPQ+S3wMjnIKSajyNJuCV0nNxSRttL+gTTchJQf6EcUQX+m9DT3aQc/RXxsxonQ/NQ8cA0DLwTG+D+5xd7lDNPKzh4+TjqphbaaA== X-Google-Smtp-Source: AGHT+IG6Q3OnR/aOAru81aHG+h2cfICNFQ0PkZqF3BiCyZ2mu2a1yH293Im454YHD0RHsaU/vx7s X-Received: by 2002:a17:907:ea5:b0:a59:cf38:5343 with SMTP id a640c23a62f3a-a59fb94b427mr174457966b.27.1715153250294; Wed, 08 May 2024 00:27:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715153250; cv=pass; d=google.com; s=arc-20160816; b=EUlKxzO8JjPiS5hgOTb0D7kiUmsV3ZF3kSSAmsKwuzsFLIZgc6Glum8wE97gSn8mpf mv0YpQgn3ScRGlN+mi6gDXJV1QapyaNDuUzyRYjt4P9QBQHGxsh7oxW9Iso+fo2oUngA v4P7M0RjdRlKfKP3I5GaX+EfJ+CDv3A2htKFdLmzfYVumHqVMjp2ADKOTmNfLUGEoTaU BrlL07JJe37aoSU/WPmTWQZyGL6obo2U2VbCiIuRuK8Dh8OkmsiToW4D4M0HC5y3kuaM vhAxRiM/2zBkVrRabomlGbYu9kMdNCoIUNf9BnCLushzvQqvNCaqX2Gpkgx4s1xYUDw8 m0/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=0cfe0bRArhgSnwFFTSmK8hkA8vGKBx7Rip5BRe3tmYc=; fh=uTsJaK/t7DFJm4VuwWIalENcYJHXxtcHAHdlAwo37yo=; b=m83U0BYquQOnFSLYRiVzP2CBTsrOsToeGB+fpwHEYshg6/8m7DCL+G+SZwWDvvueRn XHocGbJn49lRmpOqnXUvbbp/kpp87tk0crFKjQ444zb3ewRzeABE2HRBKGD1yeR4uCoK EtwppPCkdJvbQPgjoBM3VomQP+vDEsJQc5X915VhV+sImbjHG4kZ/k1tFI6hFnIGuC3M CRG0KzBxgWzsaNLqx2Jy7sQG7cupr6m6LlB2vo35xA985sR8BmE0Vhg9saR1j34bIIae jGkkBTUQqn6EN3n/Fb+x4Scj4YnAB/+LpATwSNvfYFhtiejLiUTdVUEomLV1NAC/kazJ LT0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=e2G2BJzK; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-172804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172804-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x10-20020a1709060a4a00b00a599db0620dsi5250251ejf.987.2024.05.08.00.27.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 00:27:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=e2G2BJzK; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-172804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172804-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3768A1F247F7 for ; Wed, 8 May 2024 07:27:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D60883A8F7; Wed, 8 May 2024 07:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="e2G2BJzK"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QgNPB/2h" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD8842BB1E; Wed, 8 May 2024 07:27:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715153234; cv=none; b=FfgvT+Kr4J4OC6eheiPxhMGd8qA12uCr+xWDdbWjZetwnoiUiRE2JTyOSqt+YalNOzPb+sSCxMkI9jPfoBL0XO6EAP5PEJr/CvCWeNBFcY2mjKssKgwuW4Ma/VDvc2KeYUePmnIuUWvASwFTp93o5PqKMfNEkg9zMGY+t96xy2U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715153234; c=relaxed/simple; bh=/BCtZ9w0BUivyHfHK3nkVeD/Eld4qtRuqJFrYgSpw10=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=rSUWfYmrOXFpPXHgSc+Vd7fuiSHbeTiy0C3Rbc2ga2a0864J/pajnAClJHjexgYbH8RxvDluasjswq3EY1D5vQtOrdxxDe6ZockoHJ7LTXtKi9NhxNd3DVsTVnXEkc3dOb2k1YvmXew0J57EJIP5bYjinbylTe2e9bT8TRP5dnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=e2G2BJzK; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=QgNPB/2h; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Wed, 08 May 2024 07:27:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715153226; 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=0cfe0bRArhgSnwFFTSmK8hkA8vGKBx7Rip5BRe3tmYc=; b=e2G2BJzKbXpEL3JY0560wyPQQFjmVF/QZL8LHmYVhCbb70f9slIhCLlxM2FsSh9HAPxbP1 qAW+vJ4ZoBKzyx5Nmcws49FyBf47gwS3a6xvn61Vq4CEjvxFYj95XQ+GZxW2jnYPVLkB7O Q9U0gx9mjnkszjf1RBnoFGaybgq17u75fkIBqQEIwF7qIVjaP9haOsMhRgBERmjlS3tLMm ytzi5Zupsvp11NB+b+10JdrqHucdbf7oCFMnk8W7XTn58m/pNm7RpjtaAYxW8HBbBAwGvh INQm0TeNjB3UV7mckpC2POPCkxVVIKaU0mgb8b8dzFWlkfS33rcb5cnF6yd6EA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715153226; 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=0cfe0bRArhgSnwFFTSmK8hkA8vGKBx7Rip5BRe3tmYc=; b=QgNPB/2huNGf1Bx4k1nG80vpYbJiMwSXZ692ji+ffK6FCwJ1Klieg7B1xm0NJG6cYjFZHm +PBFHIUM4Kh38BCw== From: "tip-bot2 for Dr. David Alan Gilbert" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/pci/ce4100: Remove unused 'struct sim_reg_op' Cc: "Dr. David Alan Gilbert" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240507232348.46677-1-linux@treblig.org> References: <20240507232348.46677-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171515322582.10875.10439835550182173847.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: ad3bd7659b68add28920982e02233b5dc4b483c3 Gitweb: https://git.kernel.org/tip/ad3bd7659b68add28920982e02233b5dc4b483c3 Author: Dr. David Alan Gilbert AuthorDate: Wed, 08 May 2024 00:23:48 +01:00 Committer: Ingo Molnar CommitterDate: Wed, 08 May 2024 09:17:17 +02:00 x86/pci/ce4100: Remove unused 'struct sim_reg_op' 'struct sim_reg_op' wasn't ever used since it was introduced 14 years ago via: 91d8037f563e ("ce4100: Add PCI register emulation for CE4100") Remove it. [ mingo: Improved the changelog. ] Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240507232348.46677-1-linux@treblig.org --- arch/x86/pci/ce4100.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c index 8731370..f5dbd25 100644 --- a/arch/x86/pci/ce4100.c +++ b/arch/x86/pci/ce4100.c @@ -35,12 +35,6 @@ struct sim_dev_reg { struct sim_reg sim_reg; }; -struct sim_reg_op { - void (*init)(struct sim_dev_reg *reg); - void (*read)(struct sim_dev_reg *reg, u32 value); - void (*write)(struct sim_dev_reg *reg, u32 value); -}; - #define MB (1024 * 1024) #define KB (1024) #define SIZE_TO_MASK(size) (~(size - 1))