mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
db5dbec5ef
commit
3a4a27d3bd
1 changed files with 2 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue