]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Remove unnecessary ret variable
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:40 +0000 (12:41 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 3 Jun 2015 13:57:24 +0000 (15:57 +0200)
commitc382c335d4a7b386d39a5ac060c9910f74f576eb
treeef818eb15b67e8af95af35e6067e61dde876d633
parentd1bc3ffe9209da79adc2706215c711d8b1774b4d
batman-adv: Remove unnecessary ret variable

We can avoid this indirect return variable by directly returning the
error values.

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