[PATCH] cdx: Drop useless LIST_HEAD

From: Christophe JAILLET
Date: Sun Jun 04 2023 - 00:44:27 EST


'cleanup_list' is unused, so drop it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
drivers/cdx/controller/mcdi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/cdx/controller/mcdi.c b/drivers/cdx/controller/mcdi.c
index a211a2ca762e..03e34f214aea 100644
--- a/drivers/cdx/controller/mcdi.c
+++ b/drivers/cdx/controller/mcdi.c
@@ -611,7 +611,6 @@ void cdx_mcdi_process_cmd(struct cdx_mcdi *cdx, struct cdx_dword *outbuf, int le
{
struct cdx_mcdi_iface *mcdi;
struct cdx_mcdi_cmd *cmd;
- LIST_HEAD(cleanup_list);
unsigned int respseq;

if (!len || !outbuf) {
--
2.34.1