batman-adv: Remove needless init of variables on stack
authorSven Eckelmann <sven@narfation.org>
Sun, 24 Jul 2016 22:42:44 +0000 (00:42 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 19 Oct 2016 06:37:52 +0000 (08:37 +0200)
commit422d2f77803d85477df72f3153e85fd2b8c6b9e9
treef1dc7de3ad08d605866799de920f367e4b185795
parent393b299d2cb804f09e05aafbdce9e3d3f61438cf
batman-adv: Remove needless init of variables on stack

Some variables are overwritten immediatelly in a functions. These don't
have to be initialized to a specific value on the stack because the value
will be overwritten before they will be used anywhere.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v.c
net/batman-adv/bat_v_ogm.c
net/batman-adv/fragmentation.c
net/batman-adv/gateway_client.c
net/batman-adv/originator.c
net/batman-adv/send.c