net: hip04: Remove superfluous ether_setup after alloc_etherdev
authorTobias Klauser <tklauser@distanz.ch>
Mon, 17 Oct 2016 07:22:04 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2016 14:32:35 +0000 (10:32 -0400)
commita7f7b44beadbec60e78d360944e926d5cba7f2d4
tree3a0d87c652776f98d6191ea8225415bd56b60c5e
parentab3a70bef8f36b3884c7bee1f95c09c888ceb43e
net: hip04: Remove superfluous ether_setup after alloc_etherdev

There is no need to call ether_setup after alloc_ethdev since it was
already called there.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c