Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2071010pxb; Sat, 14 Nov 2020 12:07:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwy07PJCJCqAQVVtUj+prH3v0hQfNcQjsGBcDIGKxVE2QG712sjw+BliGltJbuVwQXx7IX X-Received: by 2002:a50:950e:: with SMTP id u14mr8615158eda.260.1605384444491; Sat, 14 Nov 2020 12:07:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605384444; cv=none; d=google.com; s=arc-20160816; b=Dhm4cO8Z7fZbgef0HUyjJbPLHM53diAPzQ/Zh4rJqQcAh8dU5bl6gKdRIXbum4KtMN aEsqY2dn5GrPfhwH9ZOO+LEwvIjMrNZRAxBW9xfwQy5jMs/M3vPJtvd6XJjQQkiDhtWA ImtzO+jj9jFmC51onA3FXfuUMPapTwAinv5Dz9YF1p8PNCpeEp3A6C0QyID38vrlIO+x 3ysMHFdo/nX/e5hXAJ3+Yyf6OswReNxsy0x0DrzMM4CpfngXSqT8psQT52DSNYtBalFa IVSly0U/LY4B8Bg9iaF1SLEJFHjsxPrW+bLg73vgfCfDAhdeDTXc1IXnxVqHk1VQ1jME 448Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4rNpC1mqb0EapCVYkzJfFtvA7gSga1tFbACtkz9RIeE=; b=b0gZvX+Eq5zwgNlQ94ulcZCyKet1lQV47+mGlMpqWzxtz/N3wQ1x0e90p/N/zKYOTn AiGHyKQFVzfwj5JskKTigJYpqIZgMrEc5pVvf01/IUKrlNMKKFGOFDIvGVzb8Pxyp8g4 Y+secCJvPGxv5CHAvmqeqpfKBLP5yIVT79cqOJ0eYrVERaxPulweF0NgKUPldzXaWhMQ gOZfcVgt3GkGfgymgIEfoMTL2/V8fK8QMmAdGk8IWFXfwzZUsjqVSfmKJmnusePkNbaC uYdILuAQ2Tzok3zrgcYRwHWOybAP+J7o4LZ+pDd+b5xZU2J+iFIaSwt6H+2TMRYNhVYO XSSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VpzcMYLn; 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 f9si8986385edy.248.2020.11.14.12.07.01; Sat, 14 Nov 2020 12:07:24 -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=VpzcMYLn; 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 S1726275AbgKNUDM (ORCPT + 99 others); Sat, 14 Nov 2020 15:03:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:58894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbgKNUDM (ORCPT ); Sat, 14 Nov 2020 15:03:12 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (c-67-180-217-166.hsd1.ca.comcast.net [67.180.217.166]) (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 2C5182231B; Sat, 14 Nov 2020 20:03:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605384191; bh=L3Bu3Xs3Gt7CZ3XS4+LlTbCK0t4CN2vUuTntKk2ieJo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VpzcMYLnTCW0hcNwtou6FwrDT6/8xX3B3r8kSWxlvvgTipsGvWTWAP1HE3+SZEqP+ nxTtFNxVZIeoWfqmStowrrG8utiy5VXEIFxBzdEioU/ha2SJtfaD/0LGwHRKpn8B8p jTzwmtNkBw99vWAU490lcTLUnE5fW4XtLQlZ8m7o= Date: Sat, 14 Nov 2020 12:03:10 -0800 From: Jakub Kicinski To: Nathan Chancellor Cc: Lukas Bulwahn , "David S . Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , netdev@vger.kernel.org, Arnd Bergmann , Tom Rix , Nick Desaulniers , clang-built-linux@googlegroups.com, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipv6: remove unused function ipv6_skb_idev() Message-ID: <20201114120310.0378d56a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201113183649.GA1436199@ubuntu-m3-large-x86> References: <20201113135012.32499-1-lukas.bulwahn@gmail.com> <20201113183649.GA1436199@ubuntu-m3-large-x86> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Nov 2020 11:36:49 -0700 Nathan Chancellor wrote: > On Fri, Nov 13, 2020 at 02:50:12PM +0100, Lukas Bulwahn wrote: > > Commit bdb7cc643fc9 ("ipv6: Count interface receive statistics on the > > ingress netdev") removed all callees for ipv6_skb_idev(). Hence, since > > then, ipv6_skb_idev() is unused and make CC=clang W=1 warns: > > > > net/ipv6/exthdrs.c:909:33: > > warning: unused function 'ipv6_skb_idev' [-Wunused-function] > > > > So, remove this unused function and a -Wunused-function warning. > > > > Signed-off-by: Lukas Bulwahn > > Reviewed-by: Nathan Chancellor Applied, thanks!