Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp120913lqh; Thu, 30 May 2024 16:34:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVH6re+utyPbqHH/JJtU1Qpb3bhb0VO0GjRYA++/OUP2BOSqWvLZ+Ablq7z1cKFc6aYlER/M3THBhPevWgCfXteAnaZ+74ssn4pxaew6w== X-Google-Smtp-Source: AGHT+IEV6k7Fk3556/60Dwt5xDroRIM6Qxb94/8RaovRJaxQkz0BIEMWR79E5iag3820NpmS27oQ X-Received: by 2002:a17:902:e742:b0:1f4:88a1:3fd9 with SMTP id d9443c01a7336-1f637028932mr4190015ad.40.1717112089854; Thu, 30 May 2024 16:34:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717112089; cv=pass; d=google.com; s=arc-20160816; b=AyU7HrPhDBGToLx6iya4tunS8wJxyrYnd9Zba/aLEQAQk7ZKHbZyaRU/ePf5wvDI1z okTarW8igOgUy3K9PCi8Hzy94MpCI0Lk+Mc7EraYDCpebjEkrUirOeoIOC3i9vGGohn8 Zrhkz0iLu7j6O5RAsN0doPOHrXDfS7qK1qEbcxCIIsMZ34aW5sBD4mp/qfuORINGIKtA TG1XcqBAFtDvbomJek6+vtQ4ANkjgxZUgt+s+mwXk47BF70N8IkKE4vWs6Mr02xO1GLt HB093mYvTtQNwZn+pr1SbKAWGGBNVJoKDvDrsAQlGe0zKfaH3eTpKVvg/GBQegnNz+qd pW7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=43Y5SDVjosLLX/1DA4WmaYI8KLnW+maYA9TjmHM2Xr0=; fh=ZjvFq5LBgV7llMEC0SE+NEaEXGWlvWpRY9YKtwf9nG4=; b=CcsXFRcGDPOW/HBoZRED5rrM+EPExzcxqsqoRi+BNt9rGFuDb7tSB8CXS0YgK0Ryd5 Pi3PbnKXlDTgZxuE+pDI3dSnZTb8ulrflJb4emKGb77yFR79tN+FwBU137eX38QWAwrT Cy3Jlb1YND14gB1Gg7kBS/4hMnFQcxL7DNCVf6QYARyU0jkt6YKo6SiZ+rmq646sJjIn vJtPOXK/+U5oX9k8AI2hVjp2tP7VwebVDjhLUdAB2cl5jDSsn6FfiKNL62MQFJnjibNf jyBd8bj1WrvA/wOyPPv1h3stgTu1lSHWW8/q374m+Hv+eRf4jrcphQMq4az4/pvGs6Bp gpsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=esUb50Bs; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-196034-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196034-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323eb64csi4547135ad.366.2024.05.30.16.34.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 16:34:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196034-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=esUb50Bs; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-196034-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196034-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 10E132858FD for ; Thu, 30 May 2024 23:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96DBC17C7B0; Thu, 30 May 2024 23:34:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="esUb50Bs" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 D1B78482D7 for ; Thu, 30 May 2024 23:34:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717112083; cv=none; b=uE0mKevlifyjMEMq/g9HL3TLzicax+e4s6ZXCrSIUix+3eMmj9wPohCWKIDxJXKzD2kgdo21qo4y7kEWKTsxSX0sMPoZy4iNwN5SlJCTjzNtoYbQQmwO99glj+lw/Vtor/0sNw1pVf/HSxOmEXs/5Ivy9HN6Si1XPgota0wpw4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717112083; c=relaxed/simple; bh=Ofp/kAf6H3cCSHeeDszGKCxLsP0u8/7a/2csMxuity8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d/cRvo39v87B4Atf66X5xxgaC1DQtJHyqgIxWQ37DS1mFveTKkinBCIcDUF9+0y26KAnZjGX6yKNasarZ9nSetuXD6XqzYRYhZaH95QM97VeeJINntnPPcccFR7im19HjIystHcXsNRDtorCd5mknj9Eqa/jWrqcuY8SaDv5sG0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=esUb50Bs; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=43Y5SDVjosLLX/1DA4WmaYI8KLnW+maYA9TjmHM2Xr0=; b=esUb50BsXuX3kbQe Y/CuQTUNjCKz0giZJW23mmVlXp+r5VU7eq8yNSyzRoKKXKBbetjxfMUR2Opq3zAN3Z8W0lMrG0yp7 QLNYRd3ll503CZRdAXKgUNASPNFnM8fxJ/sbCIftV2eIfZ6HAGn+WBJNK8D0AKEOrAfs4yT2gIx2z hheSLfmDt2xvQwnkdYuCff14oO6RNtL2oDuOVShib2AqtOqxSpIvrvehFHF68axHEAc+GIMUZgoAr 0EBjIito5zoRukZNp4jlfiG/3B5s2aQ9JIjnMVx6rDoG8k4SoMvR1e3c1AhcKRQa1R6s0YLss8h+f StnLmSWKEcl2qLcklA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sCpI5-003SqY-16; Thu, 30 May 2024 23:34:37 +0000 From: linux@treblig.org To: nipun.gupta@amd.com, nikhil.agarwal@amd.com Cc: abhijit.gangurde@amd.com, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] cdx: remove unused struct 'cdx_mcdi_copy_buffer' Date: Fri, 31 May 2024 00:34:36 +0100 Message-ID: <20240530233436.224461-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'cdx_mcdi_copy_buffer' has been unused since the original commit eb96b740192b ("cdx: add MCDI protocol interface for firmware interaction"). Looking at lkml, it was used in the V1 posting but was removed somewhere before V6. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/cdx/controller/mcdi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/cdx/controller/mcdi.c b/drivers/cdx/controller/mcdi.c index 1eedc5eeb315..e760f8d347cc 100644 --- a/drivers/cdx/controller/mcdi.c +++ b/drivers/cdx/controller/mcdi.c @@ -27,10 +27,6 @@ #include "bitfield.h" #include "mcdi.h" -struct cdx_mcdi_copy_buffer { - struct cdx_dword buffer[DIV_ROUND_UP(MCDI_CTL_SDU_LEN_MAX, 4)]; -}; - static void cdx_mcdi_cancel_cmd(struct cdx_mcdi *cdx, struct cdx_mcdi_cmd *cmd); static void cdx_mcdi_wait_for_cleanup(struct cdx_mcdi *cdx); static int cdx_mcdi_rpc_async_internal(struct cdx_mcdi *cdx, -- 2.45.1