Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2018-01-11 11:55:23 +0100
committerThomas Bogendoerfer <tbogendoerfer@suse.de>2018-01-11 11:55:25 +0100
commit88fca35e0e93ad8c26aea5a7424107ca6a59c3df (patch)
tree1dc0b9e6d426c13fdefb9484ba98cd6d58ef98e8
parent206f4bd32b7f2838ebd4915e16e62f157e11b39b (diff)
net: mvneta: use proper rxq_number in loop on rx queues
-rw-r--r--drivers/net/ethernet/marvell/mvneta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c
index 145276dd2dfc..c3e587e483cc 100644
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -3017,7 +3017,7 @@ static void mvneta_cleanup_rxqs(struct mvneta_port *pp)
{
int queue;
- for (queue = 0; queue < txq_number; queue++)
+ for (queue = 0; queue < rxq_number; queue++)
mvneta_rxq_deinit(pp, &pp->rxqs[queue]);
}