batman-adv: remove unneeded variable in batadv_nc_init
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 10 Dec 2021 02:19:17 +0000 (02:19 +0000)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 10 Dec 2021 07:52:52 +0000 (08:52 +0100)
commitcde3fac565a7df8805a4e0e28d84a0f90177099a
tree19dc8e412c5d924697fd8945c50ff04a9ca79eca
parent9057d6c23e7388ee9d037fccc9a7bc8557ce277b
batman-adv: remove unneeded variable in batadv_nc_init

Return status directly from function called.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/network-coding.c