batman-adv: replace redundant primary_if_get calls
authorMarek Lindner <lindner_marek@yahoo.de>
Sat, 12 Jan 2013 11:19:06 +0000 (19:19 +0800)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 13 Mar 2013 21:53:47 +0000 (22:53 +0100)
commit736292c2e89ff8ba266bdc08ca035f5a7afb68f6
treec3015a78a6787d3bd837e732197483d3d32efa19
parent7f02d1601cf05ce79fde78cb9b9bc2e375f87126
batman-adv: replace redundant primary_if_get calls

The batadv_priv struct carries a pointer to its own interface
struct. Therefore, it is not necessary to retrieve the soft_iface
via the primary interface.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/distributed-arp-table.c
net/batman-adv/sysfs.c
net/batman-adv/translation-table.c