Re: [PATCH] cdx: Drop useless LIST_HEAD

From: Christophe JAILLET
Date: Sun Jun 04 2023 - 06:05:37 EST



Le 04/06/2023 à 06:44, Christophe JAILLET a écrit :
'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) {


NAK. Ouch!

Something went wrong in my compile-testing process for this one, sorry for the noise.


CJ