net: enetc: remove the mm_lock from the ENETC v4 driver
Currently, the ENETC v4 driver has not added the MAC merge layer support
in the upstream, so the mm_lock is not initialized and used, so remove
the mm_lock from the driver.
Fixes: 99100d0d99
("net: enetc: add preliminary support for i.MX95 ENETC PF")
Cc: stable@vger.kernel.org
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20250224111251.1061098-8-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
8e43decdfb
commit
119049b66b
1 changed files with 0 additions and 1 deletions
|
@ -672,7 +672,6 @@ err_link_init:
|
|||
err_alloc_msix:
|
||||
err_config_si:
|
||||
err_clk_get:
|
||||
mutex_destroy(&priv->mm_lock);
|
||||
free_netdev(ndev);
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Add table
Reference in a new issue