]> git.baikalelectronics.ru Git - kernel.git/commit
vrf: don't check for dstats and rth in uninit path
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 18 Aug 2015 17:28:03 +0000 (20:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2015 03:16:52 +0000 (20:16 -0700)
commitee7e7d93b6db96d8c21dd24231d7a72bc7c8205a
treed6b8dccdcd3d03b163c08d1d25a0def72025205a
parentdbd50b758029b6e90f86029e3189bd1508d93259
vrf: don't check for dstats and rth in uninit path

dstats and rth are always present because we fail the device registration
if they can't be allocated in vrf_init() (ndo_init) so drop the unnecessary
checks.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c