diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-02-04 22:09:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-13 06:02:18 -0500 |
commit | cde4c0fec4e223727c24c2cd7e88ece57b48b70e (patch) | |
tree | e5f2fe9eccc7df49f009ffa057a344e3dc6820f7 /drivers/net/ethernet/marvell | |
parent | 6b125d63b7f6c30d36dad3d999bbb5d44f359ebd (diff) |
net: mvneta: Remove unused code
Since the commit 2dcf75e2793c ("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: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index f496f9716569..74f8158df2b0 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -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 */ |