batman-adv: Remove unnecessary ret variable in algo_register
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:41 +0000 (12:41 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 3 Jun 2015 13:57:25 +0000 (15:57 +0200)
commitf372d09059a67f57b3d2b5eab8c05b0ddb8ca92f
tree2f9ddc145ed9b2bc2dcfed44e38da3cea3f4319c
parent9fb6c6519b10aee4815591122ce59ce4b63fc44b
batman-adv: Remove unnecessary ret variable in algo_register

Remove ret variable and all jumps.

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