summaryrefslogtreecommitdiff
path: root/net/batman-adv/main.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2015-08-26 08:31:50 (GMT)
committerAntonio Quartulli <a@unstable.cc>2015-12-16 07:17:09 (GMT)
commit01f6b5c76a68e294e90a040c651adb90126e802d (patch)
tree72666b048b4787053ca616c8dcc69b5e9df9c4d9 /net/batman-adv/main.c
parentad7e2c466d8b0a7056cd248e1df6bb7296e014f7 (diff)
downloadlinux-01f6b5c76a68e294e90a040c651adb90126e802d.tar.xz
batman-adv: Use chain pointer when purging fragments
The chain pointer was already created in batadv_frag_purge_orig to make the checks more readable. Just use the chain pointer everywhere instead of having the same dereference + array access in the most lines of this function. Signed-off-by: Sven Eckelmann <sven@narfation.org> Acked-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/main.c')
0 files changed, 0 insertions, 0 deletions