]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit9fb6c6519b10aee4815591122ce59ce4b63fc44b
treeef818eb15b67e8af95af35e6067e61dde876d633
parentf2d5cf2add74ac066572b5215ba8a33dfcf0b85c
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