Skip to content

Commit 119049b

Browse files
WeiFang-NXPkuba-moo
authored andcommitted
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: 99100d0 ("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>
1 parent 8e43dec commit 119049b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/net/ethernet/freescale/enetc/enetc4_pf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,6 @@ static int enetc4_pf_netdev_create(struct enetc_si *si)
672672
err_alloc_msix:
673673
err_config_si:
674674
err_clk_get:
675-
mutex_destroy(&priv->mm_lock);
676675
free_netdev(ndev);
677676

678677
return err;

0 commit comments

Comments
 (0)