mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yuehaibing <yuehaibing@huawei.com>
To: <davem@davemloft.net>, <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] net/sched: Remove unused function qdisc_queue_drop_head()
Date: Thu, 17 Sep 2020 09:35:07 +0800	[thread overview]
Message-ID: <5b7b6ff1-19ea-33b6-87b7-2cee6db8157d@huawei.com> (raw)
In-Reply-To: <20200916141611.43524-1-yuehaibing@huawei.com>

Pls drop this duplicate.

On 2020/9/16 22:16, YueHaibing wrote:
> It is not used since commit a09ceb0e0814 ("sched: remove qdisc->drop")
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  include/net/sch_generic.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
> index d60e7c39d60c..6c762457122f 100644
> --- a/include/net/sch_generic.h
> +++ b/include/net/sch_generic.h
> @@ -1047,12 +1047,6 @@ static inline unsigned int __qdisc_queue_drop_head(struct Qdisc *sch,
>  	return 0;
>  }
>  
> -static inline unsigned int qdisc_queue_drop_head(struct Qdisc *sch,
> -						 struct sk_buff **to_free)
> -{
> -	return __qdisc_queue_drop_head(sch, &sch->q, to_free);
> -}
> -
>  static inline struct sk_buff *qdisc_peek_head(struct Qdisc *sch)
>  {
>  	const struct qdisc_skb_head *qh = &sch->q;
> 

      reply	other threads:[~2020-09-17  1:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 14:16 YueHaibing
2020-09-17  1:35 ` Yuehaibing [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b7b6ff1-19ea-33b6-87b7-2cee6db8157d@huawei.com \
    --to=yuehaibing@huawei.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®