]> 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)
commitb0628fab2ef660b435ad0b7db0b81d0c186f30c1
tree883deb60087b5d5cbbd48d9dc63fc4716eec675b
parent50d6cc0448da2dffd4598f836665607ea5f4a626
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