From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: [PATCH net-next] net: sched: remove unused helpers Date: Thu, 4 Oct 2018 17:07:51 -0700 Message-ID: <20181005000751.24150-1-jakub.kicinski@netronome.com> Cc: jiri@resnulli.us, netdev@vger.kernel.org, oss-drivers@netronome.com, Jakub Kicinski To: davem@davemloft.net Return-path: Received: from mail-qt1-f196.google.com ([209.85.160.196]:42877 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbeJEHD4 (ORCPT ); Fri, 5 Oct 2018 03:03:56 -0400 Received: by mail-qt1-f196.google.com with SMTP id z8-v6so12018229qto.9 for ; Thu, 04 Oct 2018 17:07:58 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: tcf_block_dev() doesn't seem to be used anywhere in the tree. Signed-off-by: Jakub Kicinski --- include/net/pkt_cls.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 313fe840742d..338ef054bf16 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -65,11 +65,6 @@ static inline struct Qdisc *tcf_block_q(struct tcf_block *block) return block->q; } -static inline struct net_device *tcf_block_dev(struct tcf_block *block) -{ - return tcf_block_q(block)->dev_queue->dev; -} - void *tcf_block_cb_priv(struct tcf_block_cb *block_cb); struct tcf_block_cb *tcf_block_cb_lookup(struct tcf_block *block, tc_setup_cb_t *cb, void *cb_ident); @@ -122,11 +117,6 @@ static inline struct Qdisc *tcf_block_q(struct tcf_block *block) return NULL; } -static inline struct net_device *tcf_block_dev(struct tcf_block *block) -{ - return NULL; -} - static inline int tc_setup_cb_block_register(struct tcf_block *block, tc_setup_cb_t *cb, void *cb_priv) -- 2.17.1