]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf296457a61959247fa4a1f1cc6a79a3b5e94d8b5
treefb0ba8327da59e8a8ece954d129621819abbcf66
parent8f609234493616b6b4323e0afb384259925c23ac
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