]> 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)
commitfffd043bcb4dd6d0b5457f4d6997efd1e79c7239
treed6b8dccdcd3d03b163c08d1d25a0def72025205a
parent360506ebceabe2b2911b26820f947d1c71b11dee
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