net/fec: no need to check for validity of ndev in suspend and resume
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 13 Jan 2011 20:53:40 +0000 (21:53 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 15 Feb 2011 08:26:28 +0000 (09:26 +0100)
commit04e5216d44e173fab619d03e2f746f444ea21ebd
treeea55a76a411363d1db9b56d87554574bc7fae58f
parentb2b09ad63cc09448e49f6a4addae6e078c0e5e36
net/fec: no need to check for validity of ndev in suspend and resume

dev_set_drvdata is called unconditionally in the probe function and so
it cannot be NULL.

Reported-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/net/fec.c