]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5969503c507415e667f347a24653d487e699475
tree6da3fb491257d401d4039181f76cd1ccdb11cdad
parent5e6379784025feca6f1dc2636c74d37cb12ffb88
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