Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dr. David Alan Gilbert and committed by
Greg Kroah-Hartman
83a1b574 1b48fbbc

-4
-4
drivers/cdx/controller/mcdi.c
··· 27 27 #include "bitfield.h" 28 28 #include "mcdi.h" 29 29 30 - struct cdx_mcdi_copy_buffer { 31 - struct cdx_dword buffer[DIV_ROUND_UP(MCDI_CTL_SDU_LEN_MAX, 4)]; 32 - }; 33 - 34 30 static void cdx_mcdi_cancel_cmd(struct cdx_mcdi *cdx, struct cdx_mcdi_cmd *cmd); 35 31 static void cdx_mcdi_wait_for_cleanup(struct cdx_mcdi *cdx); 36 32 static int cdx_mcdi_rpc_async_internal(struct cdx_mcdi *cdx,