b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] batman-adv: Remove unused declarations
@ 2023-07-26 14:25 YueHaibing
  2023-07-26 14:31 ` Sven Eckelmann
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2023-07-26 14:25 UTC (permalink / raw)
  To: mareklindner, sw, a, sven, davem, edumazet, kuba, pabeni, yuehaibing
  Cc: b.a.t.m.a.n, netdev, linux-kernel

Since commit 335fbe0f5d25 ("batman-adv: tvlv - convert tt query packet to use tvlv unicast packets")
batadv_recv_tt_query() is not used.
And commit 122edaa05940 ("batman-adv: tvlv - convert roaming adv packet to use tvlv unicast packets")
left behind batadv_recv_roam_adv().

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 net/batman-adv/routing.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h
index 5f387786e9a7..afd15b3879f1 100644
--- a/net/batman-adv/routing.h
+++ b/net/batman-adv/routing.h
@@ -27,10 +27,6 @@ int batadv_recv_frag_packet(struct sk_buff *skb,
 			    struct batadv_hard_iface *iface);
 int batadv_recv_bcast_packet(struct sk_buff *skb,
 			     struct batadv_hard_iface *recv_if);
-int batadv_recv_tt_query(struct sk_buff *skb,
-			 struct batadv_hard_iface *recv_if);
-int batadv_recv_roam_adv(struct sk_buff *skb,
-			 struct batadv_hard_iface *recv_if);
 int batadv_recv_unicast_tvlv(struct sk_buff *skb,
 			     struct batadv_hard_iface *recv_if);
 int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] batman-adv: Remove unused declarations
  2023-07-26 14:25 [PATCH net-next] batman-adv: Remove unused declarations YueHaibing
@ 2023-07-26 14:31 ` Sven Eckelmann
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Eckelmann @ 2023-07-26 14:31 UTC (permalink / raw)
  To: mareklindner, sw, a, davem, edumazet, kuba, pabeni, yuehaibing,
	YueHaibing
  Cc: b.a.t.m.a.n, netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

On Wed, 26 Jul 2023 22:25:25 +0800, YueHaibing wrote:
> Since commit 335fbe0f5d25 ("batman-adv: tvlv - convert tt query packet to use tvlv unicast packets")
> batadv_recv_tt_query() is not used.
> And commit 122edaa05940 ("batman-adv: tvlv - convert roaming adv packet to use tvlv unicast packets")
> left behind batadv_recv_roam_adv().
> 
> 

Applied, thanks!

[1/1] batman-adv: Remove unused declarations
      commit: 5af81b30fd8fc8dcaf2c20e91c9f1f053bf2b4f5

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-26 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 14:25 [PATCH net-next] batman-adv: Remove unused declarations YueHaibing
2023-07-26 14:31 ` Sven Eckelmann

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).