Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp12380956imu; Tue, 1 Jan 2019 22:28:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN7gAwwi0rrxGalBcHXzrwQKUkbrMRYfm9mMNA9SRQWboUe4Q9MIOkShsdECP3Wce0a8IHHf X-Received: by 2002:a63:7044:: with SMTP id a4mr12323255pgn.359.1546410481410; Tue, 01 Jan 2019 22:28:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546410481; cv=none; d=google.com; s=arc-20160816; b=AZGztPfKcGGdhfz67Nvcq5gpQNY0l63sPKVoLF9uNOnsJryLLBramyJz9A9TXRtuyB zt7hzuSfUiHuEwLiQlu2Ki2d37WB4iVXClEZ8LiOriyvfiPRqJ8Z+dF/py2S4Jdm9ZbB EvNismpfx6axyBRsSEmHTFHkHu954rv1MAzFltvS7LhJaTNe4JxeFb6+Y1dxVlStkr1d uHor0Cj5zygMjxXeRr+3IJ44vV81dZ8kcSK6qP6QFt7W0VEWEym7vpGQyef7sY9ovztB fmSzB/h6+OEbOL2Lz61PHzRkAxCQ1Gjq2yYq2j2UwvEMjQadZG6fz33DHtgrh5tW72lL 5YXw== 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=DbnrSPbHrcmA/73WTKYyhLh0pDp+FdJnUXAyEUgFiI4=; b=G4rxg5HqNP1RiJvi2Yqv4FJGUfTYx8lmshgvvgfSUAXdtj+x4/TU1GC+nE1M0Pt0OW QBeilK/N945m7rrmx0z/G9FkyAgDQhtUF556nxUe+h0UzN+IjRdOkSXbiWiBGTsvmlbP Le8C8CP24+T2H1qC11dqrERj7/1P7rqRAIWTROWFrPR0lHMvGs/sKrtz+/ytlF/0K9ZK NVidDVIBlz+h7+BbrhS+ItS25hDFyy9ICZ7J+vzVbpcKcydjRTxnPOFOlKJhax4F2MQD wz3anJ/bDPpnyGKDjLeIuelBxrJJCxu6zeXzgtep31YoXV06PmgApdIVWdpP63uQZTNZ JO4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FVyh4Fih; 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 b11si911178pla.405.2019.01.01.22.27.46; Tue, 01 Jan 2019 22:28:01 -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=FVyh4Fih; 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 S1728581AbfABGFV (ORCPT + 99 others); Wed, 2 Jan 2019 01:05:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:58790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727623AbfABGFV (ORCPT ); Wed, 2 Jan 2019 01:05:21 -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 2D8E62089F; Wed, 2 Jan 2019 06:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546409120; bh=dhnXG1n1S3D6Lqdg7SueDX9GmgsyhXyhS/gqGSl3UsE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FVyh4FiheVwJibjd6MhtNnAonzWy950X8QNFnlPGCGHhYRsP4MItyKvKGgpMQRgoH d7Lv/kkc1C7Brs5UP8mtiLV2sddY25J3Hj9j2tUwZo85NZR8vCm28tRjLV09PwOPvM noaUN12XLkd+mOSORyjY14Jynla4dXXTloRtTdew= Date: Wed, 2 Jan 2019 11:33:47 +0530 From: Vinod Koul To: Julia Lawall Cc: Patrice Chotard , kernel-janitors@vger.kernel.org, Dan Williams , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 14/20] dmaengine: st_fdma: drop useless LIST_HEAD Message-ID: <20190102060347.GG7581@vkoul-mobl> References: <1545555435-24576-1-git-send-email-Julia.Lawall@lip6.fr> <1545555435-24576-15-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-15-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 is never used. > > The declarations were introduced with the file, but the declared > variables were not used. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > identifier x; > @@ > - LIST_HEAD(x); > ... when != x > // > > Fixes: 6b4cd727eaf1 ("dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support") > Signed-off-by: Julia Lawall Applied, thanks -- ~Vinod