fec: refactor init function
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 15 Apr 2009 01:32:20 +0000 (01:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2009 09:34:51 +0000 (02:34 -0700)
commit4f1ceb4b46d523382f5a46622af9d3315a9b3e7f
treefb0ba8327da59e8a8ece954d129621819abbcf66
parent4e8318368af44488f6438a31537ddb57de0d4e00
fec: refactor init function

fec_enet_init() does the hardware initialisation and then calls
fec_restart() which does the same initialisation again, so we
can safely remove the initialisation from fec_enet_init().

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c