Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2828796imu; Sun, 23 Dec 2018 08:42:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN4xw4zYA1ns6p/rflhhB7cED0A6nqPn+wuysRn/nD+42y7235Y9PmfBqjksCO8wW2tG3gDo X-Received: by 2002:a63:4a0a:: with SMTP id x10mr9642029pga.237.1545583364247; Sun, 23 Dec 2018 08:42:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545583364; cv=none; d=google.com; s=arc-20160816; b=rfDTHe0aEOl6EIV+fz8DtUpRBpQ8SWD2PVOCi1iWo2i+U9lE5uO/rG1AqE4rlcJC1p E/gJXtfD9Vho+lf98tp1GObI5O0LhGeNzqHTqMySOog2MwOX7eqWYGvqzaLZhWYDuZMo ChLORiUriVhsRkw8LE8eTll+BFF6nMdPZp1zhh17vkwktJPwmGYSwdpo+HN/T8rQGP99 KmxcxAosdFDLrfJeOW4dWQlv7J6rUDxJE+bHtxgopMF16DAZU3Afh/g+8U5kWLACEEDz m+Rnex57oBbZXpLNaPDEZTZLvOZDWPy8zDcFLqccLAmvs3r+OdTq9SFfFjQ2ef0dakQH JoZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=i5oFydqRcspceTm6Rtcg8YwIctgz2R79eqaOz6D6hz0=; b=d37MuDOSkVjp1dKT4h7hqvYtXvxTCc6rTBjaQDmEyif4JbNwDSBqGJVfn9/j7clTST gZk4H8entdrBzZQ6/UyTnLgwEtW/ADJc7r3yDHzchDs7mhL4aYzKAJuhlP1nWIjB+tku PgXn6KYkNgrnboRgCojWmAjLGpLwrT8eiFUOvAkow0WzGJAu6xNrL63qmC8htbsr+9TF hhHZhpN2Ofkp4HnFLmh+0nC/PRR9HpPS071NQTvYZ4USPscc2+o2cQo/xXx6SEriWTNA i5K7t8BWzJsKi3uz7nArRHWjaM4JMW3BRoalxg/j3X0naUZD4xQGEP49/+oNBWmLq9uc mzdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c52IASeR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f35si25568309plh.399.2018.12.23.08.42.29; Sun, 23 Dec 2018 08:42:44 -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; dkim=pass header.i=@kernel.org header.s=default header.b=c52IASeR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727471AbeLWJka (ORCPT + 99 others); Sun, 23 Dec 2018 04:40:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:32996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbeLWJka (ORCPT ); Sun, 23 Dec 2018 04:40:30 -0500 Received: from localhost (unknown [193.47.165.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AD318218FD; Sun, 23 Dec 2018 09:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545558029; bh=HquHmeckJjjzdh1ixKfuigXOQkZCJGrcwvMfWjB0c3Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c52IASeR3syD9q7FhBK/uaZIyTgdL0r/4f3hH4Nhal0G0qgw+aBVJm59ygAxivBeJ 8/c7y7A1Oyu0awHzdgyb+2GJoG0+Ts3aC/b1EF1Zms3477fC2neFYSBjrSDmpyviKr uSu+bpLwWdLtYrMJc5AJRQGD22U08lkmA0p4zcus= Date: Sun, 23 Dec 2018 11:40:26 +0200 From: Leon Romanovsky To: Julia Lawall Cc: Saeed Mahameed , kernel-janitors@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/20] net/mlx5e: drop useless LIST_HEAD Message-ID: <20181223094026.GO3940@mtr-leonro.mtl.com> References: <1545555435-24576-1-git-send-email-Julia.Lawall@lip6.fr> <1545555435-24576-3-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHiQ9nAwW5IGN2dL" Content-Disposition: inline In-Reply-To: <1545555435-24576-3-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hHiQ9nAwW5IGN2dL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 23, 2018 at 09:56:57AM +0100, Julia Lawall wrote: > Drop LIST_HEAD where the variable it declares is never used. > > These became useless in 244cd96adb5f ("net_sched: remove list_head > from tc_action") > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > identifier x; > @@ > - LIST_HEAD(x); > ... when != x > // > > Fixes: 244cd96adb5f ("net_sched: remove list_head from tc_action") > Signed-off-by: Julia Lawall > Thanks, Reviewed-by: Leon Romanovsky --hHiQ9nAwW5IGN2dL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJcH1gKAAoJEORje4g2clinezYQALJ4CE1YSPVZl0v/mro+VPkd ibEjMf6lCI9/I2ldfbwlvzZfEVE5KKILn0YCwn614zvcnR+Qvvb1Pt3tbsxWGsIj IZ/oZMhuIUWME7TEiAmxK+UvqARbgqseVykG0/1f7CajispL5WVp8BdVCvAiUcgE JtAkJtyjByHAvCWpWutQqWqJ4cq7PLlGKzOPFhdh/nfMpe53iKCRyhB3xrTEbCF0 ETU1GKujnbcQY6F30SNTjPn7I5EOCTZlfqop92o0391ypVXewnKmGACgm6fIgrnm FADP2CckVunXd6jAodc5VUJj9cRBIRdV+k7O3YS0YOjOMk48K5JqM6VDbEmctdKQ d5YV4alekhnN4dlSdktJod5J4npL6DX9OcNTZk8FnDmyX4X0nP+uODY5G9Aie3Iq jb96mi4pZrQry/fky0DppS1SX6W5yrjiH/qhcagHFHKxmUc2sAE9L27wFUBVw0B6 wcJc6eWJxCkuoHc+xD1mZz/Eo3I60aVoJPX5WSSnchkgFNpT6ZnaMWl754JlBfbP iok/mUYp2nYDqj+lJxi2a689T3ossODrS6x4rxmruvU4Y+5DVSZ0q3QcGD779kxi XFdqu+O65uDcU4lx1HD5wWYjfCAvwnHLvTDFuXdkbDZ94lO7o1k/9OmFiIFNDe91 Yd4Rh70MvMJ1TQElNTJ+ =v4sq -----END PGP SIGNATURE----- --hHiQ9nAwW5IGN2dL--