mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 02:34:10 -04:00
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:
@@ -672,7 +672,6 @@ static int enetc4_pf_netdev_create(struct enetc_si *si)
|
||||
err_alloc_msix:
|
||||
err_config_si:
|
||||
err_clk_get:
|
||||
mutex_destroy(&priv->mm_lock);
|
||||
free_netdev(ndev);
|
||||
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user