]> git.karo-electronics.de Git - linux-beck.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)
commit5a4ae5f6e7d4b2b5a9b8981d513345053e40b6ac
tree883deb60087b5d5cbbd48d9dc63fc4716eec675b
parente25578777facd498480d3376752ad21a23375849
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