* [B.A.T.M.A.N.] [PATCH] batman-adv: make batadv_softif_destroy_netlink() static
@ 2013-02-16 12:50 Antonio Quartulli
2013-02-16 13:35 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2013-02-16 12:50 UTC (permalink / raw)
To: b.a.t.m.a.n
batadv_softif_destroy_netlink() is used in the file where it is defined only,
therefore it must be static.
Introduced by 5317331775c3168b8155b03ec89b1c4c508b9043 ("batman-adv: Allow to
use rntl_link for device creation/deletion")
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
soft-interface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/soft-interface.c b/soft-interface.c
index 39caefa..403b8c4 100644
--- a/soft-interface.c
+++ b/soft-interface.c
@@ -653,8 +653,8 @@ void batadv_softif_destroy_sysfs(struct net_device *soft_iface)
* @soft_iface: the to-be-removed batman-adv interface
* @head: list pointer
*/
-void batadv_softif_destroy_netlink(struct net_device *soft_iface,
- struct list_head *head)
+static void batadv_softif_destroy_netlink(struct net_device *soft_iface,
+ struct list_head *head)
{
struct batadv_hard_iface *hard_iface;
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: make batadv_softif_destroy_netlink() static
2013-02-16 12:50 [B.A.T.M.A.N.] [PATCH] batman-adv: make batadv_softif_destroy_netlink() static Antonio Quartulli
@ 2013-02-16 13:35 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2013-02-16 13:35 UTC (permalink / raw)
To: b.a.t.m.a.n
On Saturday, February 16, 2013 20:50:52 Antonio Quartulli wrote:
> batadv_softif_destroy_netlink() is used in the file where it is defined
> only, therefore it must be static.
>
> Introduced by 5317331775c3168b8155b03ec89b1c4c508b9043 ("batman-adv: Allow
> to use rntl_link for device creation/deletion")
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
> soft-interface.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied in revision 17d1d49.
Thanks,
Marek
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-16 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-16 12:50 [B.A.T.M.A.N.] [PATCH] batman-adv: make batadv_softif_destroy_netlink() static Antonio Quartulli
2013-02-16 13:35 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).