]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd857f2e04fc155c7ddebb6727a660f197c7be831
treec3015a78a6787d3bd837e732197483d3d32efa19
parentd0332b60bd66ffe4e0892d7e08fb54dde0951ce9
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