Re: [PATCH] cdx: Drop useless LIST_HEAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux