batman-adv: iv_ogm_iface_enable, direct return values
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:26 +0000 (12:41 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Fri, 29 May 2015 08:13:36 +0000 (10:13 +0200)
commit42d9f2cbd42e1ba137584da8305cf6f68b84f39d
tree723fe889f8cd1af2be9572263a463d75ebc98d92
parent9fc1883ef25a43b895531ac44a38257ba8c2ca62
batman-adv: iv_ogm_iface_enable, direct return values

Directly return error values. No need to use a return variable.

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