Commit 02e61f06 authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Simon Wunderlich

batman-adv: Keep batadv_netlink_notify_* static

The batadv_netlink_notify_*() functions are not used by any other source
file. Just keep them local to netlink.c to get informed by the compiler
when they are not used anymore.
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
parent 950c92bb
...@@ -377,7 +377,7 @@ static int batadv_netlink_mesh_fill(struct sk_buff *msg, ...@@ -377,7 +377,7 @@ static int batadv_netlink_mesh_fill(struct sk_buff *msg,
* *
* Return: 0 on success, < 0 on error * Return: 0 on success, < 0 on error
*/ */
int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv) static int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv)
{ {
struct sk_buff *msg; struct sk_buff *msg;
int ret; int ret;
...@@ -858,7 +858,7 @@ static int batadv_netlink_hardif_fill(struct sk_buff *msg, ...@@ -858,7 +858,7 @@ static int batadv_netlink_hardif_fill(struct sk_buff *msg,
* *
* Return: 0 on success, < 0 on error * Return: 0 on success, < 0 on error
*/ */
int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv, static int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv,
struct batadv_hard_iface *hard_iface) struct batadv_hard_iface *hard_iface)
{ {
struct sk_buff *msg; struct sk_buff *msg;
...@@ -1073,7 +1073,7 @@ static int batadv_netlink_vlan_fill(struct sk_buff *msg, ...@@ -1073,7 +1073,7 @@ static int batadv_netlink_vlan_fill(struct sk_buff *msg,
* *
* Return: 0 on success, < 0 on error * Return: 0 on success, < 0 on error
*/ */
int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv, static int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv,
struct batadv_softif_vlan *vlan) struct batadv_softif_vlan *vlan)
{ {
struct sk_buff *msg; struct sk_buff *msg;
......
...@@ -21,12 +21,6 @@ int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst, ...@@ -21,12 +21,6 @@ int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst,
u8 result, u32 test_time, u64 total_bytes, u8 result, u32 test_time, u64 total_bytes,
u32 cookie); u32 cookie);
int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv);
int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv,
struct batadv_hard_iface *hard_iface);
int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv,
struct batadv_softif_vlan *vlan);
extern struct genl_family batadv_netlink_family; extern struct genl_family batadv_netlink_family;
#endif /* _NET_BATMAN_ADV_NETLINK_H_ */ #endif /* _NET_BATMAN_ADV_NETLINK_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment