Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp12380098imu; Tue, 1 Jan 2019 22:26:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN7QqMhoyKP88XjGokoYvR76+f13VbePtXNUx6+/dzOuKlNQI6FfHwTftHJp0c/NWMIn4cXB X-Received: by 2002:a17:902:6a8c:: with SMTP id n12mr42668218plk.85.1546410388108; Tue, 01 Jan 2019 22:26:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546410388; cv=none; d=google.com; s=arc-20160816; b=SGU24tLUYmLfYesf4Mv0kPo4g2PccXFlFV34BZMMwhbxSBiYdUgmd3C766kEOHEy21 J6UiQkfV6Vx3xOR0Qi7WEAII4yHnHJzEVjxh0oeZovE1+aB7BEBFtqgEmlPgX4gsIEK7 BIBPdPkhur6Do3cfzdIVcvre43LIxOH6iyOWOebxLe+3u959oSM/vYRy+ATpGdxXvLpA dCr0oGD1rObYFTrcjNM+HvONoxMxGmU7gdR8KsW4fR1GdIIderFU4ATc3kIrqGbGENsu tbKxbsvxkbRB8q3X7Oq7C3pCVaTVrIZGjLJ3/96Uu0JdvldKL67RJePWDsRhabxpjOdi eoug== 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=cy689r+JgbOj8QsrR9VCoXWT99wH1UkUnD/1UrJV5XI=; b=lkoj40nejIq1+7zGm6B/4hNHiTv92Vr+UNnHI9e5M9gc8FPorLpeWR0+6WDk6301Ff 26chmhSCjGSY8y/suV6cI1WTRWPOHACGds9z9YhiOSEYZEkzBO5lGAWgavc/tfoNqiO7 BIda1zyo1oLwnDkD3wAn2aCmf7eVVID82VAIkYSSRVnaFZ2E5KTB1oX5Tt87OE7MwZ3y QoszYegiraDR7R3e3n9Neq3mySIjYSFxzPELn0O4+Ot+AsRXQOzRc0m/2ynF78B6thMf ZSJJIn0V6m1os0WilhsYCCHEw6oI5mtavDL2j+4xXXt5mpe7LphPkyhkwAkh4Ow67qlV z85g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EgU5DSbe; 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 n19si49237851pgd.271.2019.01.01.22.26.13; Tue, 01 Jan 2019 22:26:28 -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=EgU5DSbe; 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 S1728650AbfABGF5 (ORCPT + 99 others); Wed, 2 Jan 2019 01:05:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:58954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727623AbfABGF5 (ORCPT ); Wed, 2 Jan 2019 01:05:57 -0500 Received: from localhost (unknown [171.76.109.220]) (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 4D7682089F; Wed, 2 Jan 2019 06:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546409157; bh=7t6xnz3an9WewU8yhl2w/qZDgDCntt1Db0zLy9MnU0A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EgU5DSbeM5dXpd6m93rg75ih4l0FOX95nnEe0yTBtgDZGyN1LY4s7NbnciKDmUS7n jicU2mqp+JW4ZdRvzCPZXxp7ACAU5jO91brgs/iwHFdqyO2m5K82clRsdJAMcLkFEF 31jO7tO2JCUgROyujYDKZ+NpuI66OUj6LIpKFK54= Date: Wed, 2 Jan 2019 11:34:23 +0530 From: Vinod Koul To: Julia Lawall Cc: Dan Williams , kernel-janitors@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 18/20] dmaengine: sa11x0: drop useless LIST_HEAD Message-ID: <20190102060423.GI7581@vkoul-mobl> References: <1545555435-24576-1-git-send-email-Julia.Lawall@lip6.fr> <1545555435-24576-19-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1545555435-24576-19-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 On 23-12-18, 09:57, Julia Lawall wrote: > 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 > // Applied, thanks -- ~Vinod