From patchwork Sun Jun 4 04:44:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 102935 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1975133vqr; Sat, 3 Jun 2023 21:56:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xM8grTzTE7Lf18TPSmvU09A6jXOXoO5q624lsIIoa7fc+sC4Bi8PbuxsZKMxxmkm0rFns X-Received: by 2002:a05:6808:6393:b0:39a:a880:50dc with SMTP id ec19-20020a056808639300b0039aa88050dcmr1383309oib.52.1685854587977; Sat, 03 Jun 2023 21:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685854587; cv=none; d=google.com; s=arc-20160816; b=TM3sinD+P3dlKmcEhJPOhrY32z7fwiKlQGz4hQ0+h1PVicZ6t2c+afDBqHCniEZeOz q65/k/LrVKYlpe1ZTOQqKXy0UvLrKYMrcoEKMLLVKn68qwV0Z3tav40+62fM0TqNb1hu FDGECnG5UcWR5W2iKfKzQvaM6wNZhWt69ZBZNsJkwK/4dw8GuM7c5v2o8H1s0RtFmwFG I7iT5XuegDHuXRJctxeNfBnYRdEI/dDr7HDkeWxdzZIweuk5+1Gt8yxr3JWm+Nck456y lvF1Np0hsCwy9GgLQkEaSkqh8RyehRuc3zJPWtmQwFcaDTMzPywmONSB43oxByfGYd3b aRBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=yuCvWJusB0jjXwJ/HnT0XtQ4exUNOe6cHL/s4AWv+dQ=; b=H3oDs0A0OGh+YCqVHsc6brwRXKjwF4JJuClNe9GUdQ0VQMSDAgKuoq1+pQEtIJaUmk wdMCZotkin9s18z7jg0OhsfP4MLCE5Q24HRpQJhZHx8DFnuTW2NASbqOmKVspluEtIRg +nipMTjyUBFvCLpSbIwWsuDUO8SP+MDEu5SgftlDpCkg8l1dnGHFLXglO7cWt7JZ0eDC Qs7HhQIuoM7C6In8I7sTU8OofPDiL+jfDHgCG4k6Ld3iywefgCJAd+St8i8NrNNuRBG0 MdBvxWLoo7jgRzx79YY/DMecMHiE3JaQv4fqOW7ymTtei2hwTV5fJpMsDFXUfIB1X1gc FeLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wanadoo.fr header.s=t20230301 header.b=aTFm+I9Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc7-20020a17090b318700b0025066f45e40si3668155pjb.22.2023.06.03.21.56.14; Sat, 03 Jun 2023 21:56:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@wanadoo.fr header.s=t20230301 header.b=aTFm+I9Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbjFDEoY (ORCPT + 99 others); Sun, 4 Jun 2023 00:44:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbjFDEoV (ORCPT ); Sun, 4 Jun 2023 00:44:21 -0400 Received: from smtp.smtpout.orange.fr (smtp-23.smtpout.orange.fr [80.12.242.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 758CAD3 for ; Sat, 3 Jun 2023 21:44:20 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 5fbGqlk8R8aX95fbGqkWVn; Sun, 04 Jun 2023 06:44:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1685853858; bh=yuCvWJusB0jjXwJ/HnT0XtQ4exUNOe6cHL/s4AWv+dQ=; h=From:To:Cc:Subject:Date; b=aTFm+I9YSsneXEOM9vJJVrcWs/ud1UsnfbBeeaaPXgDK2MLld+4yfcytK3Yo6H7zl Dr0uVon4mdyX0pha25rbg/aAGyDp3lCvCVwMlp3FjU4TiLMAt7QeCw6xyG0jSjsfOL e6dXBKjpgDBRTY141rPV0MZLruGkKJdCYM/veS78wgOBL9xBCIkFEu91Id4KVlj6Fu PIj2fwqSSRF+P7mq1JT6YdZ0tdquMlLJedaV9XPj2not3B+IGr29xHp5Qln0VwfRj/ kc9/IFM+EkS7O7yNdiVZX3aAH2eqjLLYLc6c/yGGEoSPXVEa/07+85yfYOYTUK9EUB +Y2H2yicOoj1w== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 04 Jun 2023 06:44:18 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH] cdx: Drop useless LIST_HEAD Date: Sun, 4 Jun 2023 06:44:17 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767746660391451097?= X-GMAIL-MSGID: =?utf-8?q?1767746660391451097?= 'cleanup_list' is unused, so drop it. Signed-off-by: Christophe JAILLET --- 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) {