batman-adv: iv_ogm_aggregate_new, simplify error handling
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:31 +0000 (12:41 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 3 Jun 2015 08:58:30 +0000 (10:58 +0200)
commit940d156f52d27c16f3e0890e82974d500e40e64f
tree6da3fb491257d401d4039181f76cd1ccdb11cdad
parentdf905ceae3883f024282d00824ce33040097ac86
batman-adv: iv_ogm_aggregate_new, simplify error handling

It is just a bit easier to put the error handling at one place and let
multiple error paths use the same calls.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bat_iv_ogm.c