]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: tvlv realloc, move error handling into if block
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:23 +0000 (12:41 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Fri, 29 May 2015 08:13:36 +0000 (10:13 +0200)
commit1b891bf5f7ed65a546da40d6bf77257525a51e83
tree690d3c19f757404b86495ecb6f266cfeb9c42a89
parent5e555216abca5e425407b1f2915817c36465461d
batman-adv: tvlv realloc, move error handling into if block

Instead of hiding the normal function flow inside an if block, we should
just put the error handling into the if block.

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