if an error occurs in ldpaa_eth_init, need to free all resources before returning the error. Threfore, free net_dev before returning from ldpaa_eth_init. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| ldpaa_eth.c | ||
| ldpaa_eth.h | ||
| ldpaa_wriop.c | ||
| ls1088a.c | ||
| ls2080a.c | ||
| lx2160a.c | ||