Skip to content
Snippets Groups Projects
Commit 04e5216d authored by Uwe Kleine-König's avatar Uwe Kleine-König
Browse files

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: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent b2b09ad6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment