Skip to content
Commit 5a4ae5f6 authored by Li RongQing's avatar Li RongQing Committed by David S. Miller
Browse files

vlan: unnecessary to check if vlan_pcpu_stats is NULL



if allocating memory for vlan_pcpu_stats failed, the device can not be operated

Signed-off-by: default avatarLi RongQing <roy.qing.li@gmail.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e2557877
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment