* [B.A.T.M.A.N.] [PATCH] batman-adv: Mark batadv_iv_neigh_print as static
@ 2015-08-08 0:37 Sven Eckelmann
2015-08-09 0:25 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2015-08-08 0:37 UTC (permalink / raw)
To: b.a.t.m.a.n
batadv_iv_neigh_print is not used outside of bat_iv_ogm.c and should thus
be marked as static.
Fixes: 2e1133841c44 ("batman-adv: export single hop neighbor list via debugfs")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
net/batman-adv/bat_iv_ogm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c
index 154e36a6f486..3738a2f0a03d 100644
--- a/net/batman-adv/bat_iv_ogm.c
+++ b/net/batman-adv/bat_iv_ogm.c
@@ -1895,7 +1895,8 @@ batadv_iv_hardif_neigh_print(struct seq_file *seq,
* @bat_priv: the bat priv with all the soft interface information
* @seq: neighbour table seq_file struct
*/
-void batadv_iv_neigh_print(struct batadv_priv *bat_priv, struct seq_file *seq)
+static void batadv_iv_neigh_print(struct batadv_priv *bat_priv,
+ struct seq_file *seq)
{
struct net_device *net_dev = (struct net_device *)seq->private;
struct batadv_hardif_neigh_node *hardif_neigh;
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-09 0:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-08 0:37 [B.A.T.M.A.N.] [PATCH] batman-adv: Mark batadv_iv_neigh_print as static Sven Eckelmann
2015-08-09 0:25 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox