mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
net: dsa: felix: perform teardown on error in felix_setup
If the driver fails to probe, it would be nice to not leak memory. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
42b5adbbac
commit
6b73b7c96a
1 changed files with 19 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue