]> git.karo-electronics.de Git - linux-beck.git/commit
veth: remove redundant call of dev_alloc_name
authorHong zhi guo <honkiko@gmail.com>
Sun, 9 Jun 2013 12:15:20 +0000 (20:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2013 08:21:20 +0000 (01:21 -0700)
commit3f8b96379a820318db37f7b6e81e6e459ad56efe
tree472e52b4ed549ae9cdeaee26ec5f9067af4fdefd
parent7a6e288d2745611bef5b614acf19644283765732
veth: remove redundant call of dev_alloc_name

it's called in the following register_netdevice. No need to call it
here.
Tested with "ip link add type veth" and "ip link add xxx%d type veth".

Signed-off-by: Hong Zhiguo <honkiko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c