Commit 18d647ae authored by Chuhong Yuan's avatar Chuhong Yuan Committed by David S. Miller
Browse files

net: gemini: add missed free_netdev

This driver forgets to free allocated netdev in remove like
what is done in probe failure.
Add the free to fix it.

Signed-off-by: default avatarChuhong Yuan <>
Reviewed-by: default avatarLinus Walleij <>
Signed-off-by: default avatarDavid S. Miller <>
parent c80ed84e
......@@ -2524,6 +2524,7 @@ static int gemini_ethernet_port_remove(struct platform_device *pdev)
struct gemini_ethernet_port *port = platform_get_drvdata(pdev);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment