All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: Cong Wang <xiyou.wangcong@gmail.com>,
	netdev@vger.kernel.org, Or Gerlitz <ogerlitz@mellanox.com>
Subject: [PATCH net-next V2 1/2] net/sched: act_ife: Staticfy find_decode_metaid()
Date: Thu, 16 Mar 2017 12:53:41 +0200	[thread overview]
Message-ID: <1489661622-14498-2-git-send-email-ogerlitz@mellanox.com> (raw)
In-Reply-To: <1489661622-14498-1-git-send-email-ogerlitz@mellanox.com>

As it's used only on that file.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
---
 net/sched/act_ife.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/sched/act_ife.c b/net/sched/act_ife.c
index 71e7ff22..c75ea5c 100644
--- a/net/sched/act_ife.c
+++ b/net/sched/act_ife.c
@@ -603,8 +603,8 @@ static int tcf_ife_dump(struct sk_buff *skb, struct tc_action *a, int bind,
 	return -1;
 }
 
-int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife,
-		       u16 metaid, u16 mlen, void *mdata)
+static int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife,
+			      u16 metaid, u16 mlen, void *mdata)
 {
 	struct tcf_meta_info *e;
 
-- 
2.3.7

  reply	other threads:[~2017-03-16 11:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 10:53 [PATCH net-next V2 0/2] small set of sched cleanups Or Gerlitz
2017-03-16 10:53 ` Or Gerlitz [this message]
2017-03-16 10:53 ` [PATCH net-next V2 2/2] net/sched: fq_codel: Avoid set-but-unused variable Or Gerlitz
2017-03-16 12:28   ` Eric Dumazet
2017-03-16 16:35 ` [PATCH net-next V2 0/2] small set of sched cleanups Cong Wang
2017-03-16 19:02 ` David Miller
2017-03-16 20:29   ` Cong Wang

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=1489661622-14498-2-git-send-email-ogerlitz@mellanox.com \
    --to=ogerlitz@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.