summaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-31 00:34:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 13:56:50 +0200
commit83a1b574ce33372decdcd8a6a395d975931f8a31 (patch)
treed9252a0202c57675ed5852c9740bf38090f16fd1 /drivers/cdx/controller
parent1b48fbbc03775bea3264d50cabd9370b1987047b (diff)
downloadlinux-stable-83a1b574ce33372decdcd8a6a395d975931f8a31.tar.gz
linux-stable-83a1b574ce33372decdcd8a6a395d975931f8a31.tar.bz2
linux-stable-83a1b574ce33372decdcd8a6a395d975931f8a31.zip
cdx: remove unused struct 'cdx_mcdi_copy_buffer'
'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 <linux@treblig.org> Acked-by: Nipun Gupta <nipun.gupta@amd.com> Link: https://lore.kernel.org/r/20240530233436.224461-1-linux@treblig.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller')
-rw-r--r--drivers/cdx/controller/mcdi.c4
1 files changed, 0 insertions, 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,