Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cde4c0fe authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by David S. Miller
Browse files

net: mvneta: Remove unused code



Since the commit 2dcf75e2 ("net: mvneta: Associate RX queues with
each CPU") all the percpu irq are used and disabled at initialization, so
there is no point to disable them first.

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6b125d63
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -3014,14 +3014,6 @@ static int mvneta_open(struct net_device *dev)
		goto err_cleanup_txqs;
	}

	/* Even though the documentation says that request_percpu_irq
	 * doesn't enable the interrupts automatically, it actually
	 * does so on the local CPU.
	 *
	 * Make sure it's disabled.
	 */
	mvneta_percpu_disable(pp);

	/* Enable per-CPU interrupt on all the CPU to handle our RX
	 * queue interrupts
	 */