]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
l2tp: remove useless device duplication test in l2tp_eth_create()
authorGuillaume Nault <g.nault@alphalink.fr>
Wed, 26 Apr 2017 09:54:47 +0000 (11:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Apr 2017 20:32:13 +0000 (16:32 -0400)
commit1514dc857f8ebbeb44da09236efa133ed6e15615
tree770a7770095e9c198a3a643df197b41bbdb45e7c
parent0575c86b5dd596253bdfc0365b570d67b1a12523
l2tp: remove useless device duplication test in l2tp_eth_create()

There's no need to verify that cfg->ifname is unique at this point.
register_netdev() will return -EEXIST if asked to create a device with
a name that's alrealy in use.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_eth.c