batman-adv: Remove variable deprecated by skb_put_data
authorSven Eckelmann <sven@narfation.org>
Sun, 18 Jun 2017 07:59:28 +0000 (09:59 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 29 Jul 2017 07:51:27 +0000 (09:51 +0200)
commite04de4861cdebdfaa13507ad3d40e6542aeab857
treed341f54072c2be6369312c1c7c9507460de1ebda
parent6a04be8d860e86ad84b99045395d9e46ed7304cf
batman-adv: Remove variable deprecated by skb_put_data

skb_put_data makes it unnecessary to store the skb_put return value to copy
some data to the packet. The returned pointer of skb_put_data should
therefore not stored by functions which previously only used it to copy
some data.

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