]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: unnecessary to check if vlan_pcpu_stats is NULL
authorLi RongQing <roy.qing.li@gmail.com>
Mon, 21 Apr 2014 11:49:08 +0000 (19:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 01:27:57 +0000 (21:27 -0400)
commit90663222d3476669c9e98ccccc63ab9617bbac57
tree883deb60087b5d5cbbd48d9dc63fc4716eec675b
parent2cd99142ba8e526284d441dc7709e7ee031ef7ac
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: Li RongQing <roy.qing.li@gmail.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c