All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: remove obsolete variable primary_iface from orig_node
@ 2014-07-16 10:23 Simon Wunderlich
  2014-08-11  5:00 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Wunderlich @ 2014-07-16 10:23 UTC (permalink / raw)
  To: b.a.t.m.a.n

This variable became obsolete when changing to the new bonding mechanism
based on the multi interface optimization. Since its not used anywhere,
remove it.

Reported-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
---
 types.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/types.h b/types.h
index 8854c05..462a70c 100644
--- a/types.h
+++ b/types.h
@@ -199,7 +199,6 @@ struct batadv_orig_bat_iv {
 /**
  * struct batadv_orig_node - structure for orig_list maintaining nodes of mesh
  * @orig: originator ethernet address
- * @primary_addr: hosts primary interface address
  * @ifinfo_list: list for routers per outgoing interface
  * @last_bonding_candidate: pointer to last ifinfo of last used router
  * @batadv_dat_addr_t:  address of the orig node in the distributed hash
@@ -244,7 +243,6 @@ struct batadv_orig_bat_iv {
  */
 struct batadv_orig_node {
 	uint8_t orig[ETH_ALEN];
-	uint8_t primary_addr[ETH_ALEN];
 	struct hlist_head ifinfo_list;
 	struct batadv_orig_ifinfo *last_bonding_candidate;
 #ifdef CONFIG_BATMAN_ADV_DAT
-- 
1.9.1


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

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: remove obsolete variable primary_iface from orig_node
  2014-07-16 10:23 [B.A.T.M.A.N.] [PATCH] batman-adv: remove obsolete variable primary_iface from orig_node Simon Wunderlich
@ 2014-08-11  5:00 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2014-08-11  5:00 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

On Wednesday 16 July 2014 12:23:10 Simon Wunderlich wrote:
> This variable became obsolete when changing to the new bonding mechanism
> based on the multi interface optimization. Since its not used anywhere,
> remove it.
> 
> Reported-by: Linus Lüssing <linus.luessing@web.de>
> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
> ---
>  types.h | 2 --
>  1 file changed, 2 deletions(-)

Applied in revision be0f6de.

Thanks,
Marek

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

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

end of thread, other threads:[~2014-08-11  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 10:23 [B.A.T.M.A.N.] [PATCH] batman-adv: remove obsolete variable primary_iface from orig_node Simon Wunderlich
2014-08-11  5:00 ` Marek Lindner

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.