]> www.infradead.org Git - users/hch/misc.git/commit
net: enetc: remove the mm_lock from the ENETC v4 driver
authorWei Fang <wei.fang@nxp.com>
Mon, 24 Feb 2025 11:12:50 +0000 (19:12 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Feb 2025 03:10:59 +0000 (19:10 -0800)
commit119049b66b883c7e7e575a0b69dc6e3d211662cc
treef54ba4fa0734ecaee1def1eb7a3fdfc0e11227f7
parent8e43decdfbb477dd7800e3902d2d2f105d22ef5f
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: 99100d0d9922 ("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>
drivers/net/ethernet/freescale/enetc/enetc4_pf.c