Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp463799ybj; Tue, 5 May 2020 01:51:22 -0700 (PDT) X-Google-Smtp-Source: APiQypL/CR4T/n/YySogQpHlwXw9suyjVhbXmlyA5lQhbXDhruNrWQ/aP1ocy7ICkJZtDMLSgazR X-Received: by 2002:a17:906:2296:: with SMTP id p22mr1563009eja.269.1588668682513; Tue, 05 May 2020 01:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588668682; cv=none; d=google.com; s=arc-20160816; b=tEwa8hzjs3PRcvVenIkdDNhY3m5Mv6bMu8K0ugA5NX7iznFEIbSQO/LVMPuWz7Mh0H ibqW9rbBglbUff5wK977qs8P8TdW1mnQqQP01zsnkljcTNtdC9RsQHKGwYJZ538wY21O UPB9csGb/uL+pT+skBWw028XH1eP5S1AgRQAZHZqIIKUT31Qw1BkQI6lUb+6ODKDG3hM LG2dL/vpxDqP8RThbJgj4fMKkPEaSSpGuYxRQpH2UY+uxoAbCXHYWgHEEu6xZS6Ey5bv yhNBv66y2tWaKUT90pGCdTrreeqOSZOxOUZE5gbPtdwE/o+6UyVW2ZeQYksn//pzoiO9 yCtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=uQzhKOG/BhjEem7R49E408p+zy7AxkZL4vReKqSiQ10=; b=L4RcIQiMggHCE+koboTi6Xnm68R7GYAAxErA1wuhFxdl00EoR+qwOaQ4JEtpf/LDmP oa+DMycIywx6JoymAwoxDjhIhEv9zKwIYX0JKRzFItzpgsWrCJPJt4GAeoxggs9B3BYT 2Uy1rqoLOVZdsQvZQgh5QkmqfltpIT4ZwSDFFlyb5Yo5ekXB43FkKGN3Ao0Enwblj94H OuCykCVRvAiGgtI3T0O3KAg0TMLOZ+yA6ZSh8t9+8dpLV3lMnufzs3jheJplUQhkx7K8 EUubyvgd+5yuFDzSK+fGcXsVUOlERlWY1Yx5mJannGqjGvQrOIXOJTdEm8LWWb6s1CJl xLSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si841121edq.510.2020.05.05.01.50.59; Tue, 05 May 2020 01:51:22 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728487AbgEEIto (ORCPT + 99 others); Tue, 5 May 2020 04:49:44 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3847 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725915AbgEEIto (ORCPT ); Tue, 5 May 2020 04:49:44 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id F0D851A13A2973BB00FE; Tue, 5 May 2020 16:49:40 +0800 (CST) Received: from localhost (10.166.215.154) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Tue, 5 May 2020 16:49:33 +0800 From: YueHaibing To: , , , , CC: , , YueHaibing Subject: [PATCH net-next] net: sched: choke: Remove unused inline function choke_set_classid Date: Tue, 5 May 2020 16:47:36 +0800 Message-ID: <20200505084736.49692-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.166.215.154] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's no callers in-tree anymore since commit 5952fde10c35 ("net: sched: choke: remove dead filter classify code") Signed-off-by: YueHaibing --- net/sched/sch_choke.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/sched/sch_choke.c b/net/sched/sch_choke.c index a36974e9c601..2d350c734375 100644 --- a/net/sched/sch_choke.c +++ b/net/sched/sch_choke.c @@ -142,11 +142,6 @@ static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb) return (struct choke_skb_cb *)qdisc_skb_cb(skb)->data; } -static inline void choke_set_classid(struct sk_buff *skb, u16 classid) -{ - choke_skb_cb(skb)->classid = classid; -} - /* * Compare flow of two packets * Returns true only if source and destination address and port match. -- 2.17.1