Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4941808imu; Tue, 8 Jan 2019 08:49:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN7inJQquSb8sKQkkEuNGSy21UtoUr9466+QctIWTdpx2RiHm2iHekezUN7ILM/+qJ5Iv9ab X-Received: by 2002:a62:a209:: with SMTP id m9mr2483521pff.218.1546966173587; Tue, 08 Jan 2019 08:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546966173; cv=none; d=google.com; s=arc-20160816; b=Ff1qkgasxKCtPInlCPepIdP3HW7BbzfiTDz7T+Dzlh8kLLE/LdE1v+MglQQvlywC7q eS7SEiJ9mIwB47qLYN2rttTazI/L57W19PjrafDJA2gPHuRXHyNqujXUJCMykGrpwzkC ORJWPJJjPynhyVfaSOKuJNhr/E7oBLkjP0XLj5HxB5ROETl8iTGGtrQLK0BJuX2cUHZ6 p3Zw8Gmz9m41GYqJVUYPMd9K14B0E2ZUQaNU/RfTviSs+NeyBAZuYPXYdgDQ3EznAwft NL2QxvkhccdkjS312OwA7xe+hAHDpXxD2th0CtyOv8qCxtJIMhnRzs8xG4/l/+12vdHz 4L7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=h1NBz6M0iePUO4/z0SP7kqLISAw6JhxtpSdPs6ooozM=; b=JbdJZOpuPlwFFk0tmYlgWoK4+SOYowoEyiyEkBkwthJ2FkxnKgh78qhF9ofLeEm9Bx PEKWVa49AfhESsaQpcoJEFXdvQwPczOzsT+oTaxZgTcgMgspY26wcGSSFknAmrxZyyYV I6JTy1QrcuHLtF6GHpBJhuUAhhBu2r1zmMuFaN4F1JqtSf30vyY0qforE7GnBf1FN1o7 fMrPbSLsTt+EUoAf7XwH/EbAoRyDxfyeVkoInhJhngOtS8GWojZgQrPEzKff8ZsD1I/q 4S8L5pzMXmQMHVVsZa7mSI1MHaq4pj1IBoOM8l3m2fgQeIhbn/Fl239MtOe1qkSLpk4y JXwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si65166731plx.383.2019.01.08.08.49.17; Tue, 08 Jan 2019 08:49:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728658AbfAHQoa (ORCPT + 99 others); Tue, 8 Jan 2019 11:44:30 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:55940 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727739AbfAHQoa (ORCPT ); Tue, 8 Jan 2019 11:44:30 -0500 X-IronPort-AV: E=Sophos;i="5.56,454,1539640800"; d="scan'208";a="363145043" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2019 17:44:27 +0100 Date: Tue, 8 Jan 2019 17:44:25 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Kalle Valo cc: Solomon Peachy , kernel-janitors@vger.kernel.org, "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 20/20] cw1200: drop useless LIST_HEAD In-Reply-To: <87bm4rru12.fsf@kamboji.qca.qualcomm.com> Message-ID: References: <1545555435-24576-1-git-send-email-Julia.Lawall@lip6.fr> <1545555435-24576-21-git-send-email-Julia.Lawall@lip6.fr> <87bm4rru12.fsf@kamboji.qca.qualcomm.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Jan 2019, Kalle Valo wrote: > Julia Lawall writes: > > > Drop LIST_HEAD where the variable it declares has never > > been used. > > > > The semantic patch that fixes this problem is as follows: > > (http://coccinelle.lip6.fr/) > > > > // > > @@ > > identifier x; > > @@ > > - LIST_HEAD(x); > > ... when != x > > // > > > > Fixes: a910e4a94f692 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets") > > Signed-off-by: Julia Lawall > > > > --- > > Successfully 0-day tested on 151 configurations. > > I assume I can take this to wireless-drivers-next. If you are planning > to push this via some other tree please let me know. Please take it. Thanks. julia