Skip to content

Commit 119049b

Browse files
Wei Fangkuba-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: [email protected] Signed-off-by: Wei Fang <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 8e43dec commit 119049b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)