Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3243654pxb; Mon, 16 Nov 2020 09:18:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzb5MUs3KYBJhtQ2coKHrC6D63mT19PHtKCyXQZQyjYYV8VBtxdZbMLuLAsfK+3kJ+sWpyp X-Received: by 2002:a17:906:4712:: with SMTP id y18mr15089128ejq.51.1605547128004; Mon, 16 Nov 2020 09:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605547127; cv=none; d=google.com; s=arc-20160816; b=s0m67bL8BZC6R7RXiT9EucpjgTLZjuGzosE17ZQxsUHUDBz70fPVj/H+bdjZiSaHG8 xG0aC72tG3ymles7X1FogRGalD5xfkLV1yJqddsvq3WTii7ZSk46slfwA4dQp7Ci/5rc dbiTNBIKX5IrcL1rv0Kow3XfuPs87YUEO+hh7IKnCJebD54tzaCJPFqCFqN5YLIlT7TX ++irRkuv4FdNYFZHk46meoV/lfb9aT+2lWe1T1laAtiNV3dsR8v1R3R5raWlzsl/djpE kjAZLb0LceZ2nVovEH1rl7LwA97ZkCSSgBYYo88ZZpi9hIkeUYY2vc7FOqjjjbka/MNB U/+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uN45kQ5Y2+9hizDEFDM6uawqSr/+yUGvptSL4YelpLQ=; b=z2fTgFqNDNztOGC7UGbcYQf+v+yPtEiS9NWBlR+cQ8P8kAnl0Ad0F5G4ta/QZcg+4+ nWLnnTY2AjTbA+IvXc2ZX0QAPKqQEBtJLby6cZk7f+UI7Qcj01YO3Idg8kFOd4SQhOMX 8mn1Lryb+ULvaTq8i3vMm6MV+z/vk0XaWyEY+ckkIO+qfASSnQWj/lysM/zrpV18K0rO RQRagUt8aJz8v0c4oOycUwzHmJjN+Ql/l60+tnBdeSwfNC8RzM/W9wvNhdDUS+823xba KCA3r4pRGzJsfL4Q08iTgF28mIrmP+Wt8NSxhEGebdFNyQQLXQzkmg6sEvU1dHwkLnz+ qZcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Xd92LMg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b10si2909662edu.535.2020.11.16.09.18.24; Mon, 16 Nov 2020 09:18:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Xd92LMg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1732575AbgKPRMp (ORCPT + 99 others); Mon, 16 Nov 2020 12:12:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:40832 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731047AbgKPRMo (ORCPT ); Mon, 16 Nov 2020 12:12:44 -0500 Received: from localhost (unknown [122.171.203.152]) (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 687A120797; Mon, 16 Nov 2020 17:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605546764; bh=C+QJikeAlLIV6+DknTEUchTCebYLLhgex24/4Sa1/mk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xd92LMg4sb5lNB9U2s8QyLQwfDwvDYKwoj02d6R5nJJG6smh/WbEUZKf5U4gEjh8w u1HCFAw4F7GBBwQegG9gvlLj1kSPVFoqwY2Vp6k3OlxP4gYfUPU3aY57VdVYzTxEzR XVmUKpGbDxbrVGlUJBIx4D/Y4TRvGq0cGO9RQgeU= Date: Mon, 16 Nov 2020 22:42:39 +0530 From: Vinod Koul To: Lukas Bulwahn Cc: Maciej Sosnowski , Dan Williams , dmaengine@vger.kernel.org, Tom Rix , Nathan Chancellor , Nick Desaulniers , clang-built-linux@googlegroups.com, kernel-janitors@vger.kernel.org, linux-safety@lists.elisa.tech, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: ioatdma: remove unused function missed during dma_v2 removal Message-ID: <20201116171239.GX7499@vkoul-mobl> References: <20201113081248.26416-1-lukas.bulwahn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113081248.26416-1-lukas.bulwahn@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13-11-20, 09:12, Lukas Bulwahn wrote: > Commit 7f832645d0e5 ("dmaengine: ioatdma: remove ioatdma v2 registration") > missed to remove dca2_tag_map_valid() during its removal. Hence, since > then, dca2_tag_map_valid() is unused and make CC=clang W=1 warns: > > drivers/dma/ioat/dca.c:44:19: > warning: unused function 'dca2_tag_map_valid' [-Wunused-function] > > So, remove this unused function and get rid of a -Wused-function warning. Applied, thanks -- ~Vinod