Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1280370 > unrolled thread

[PATCH net-next] alx: remove pointless assignment

Started byJarod Wilson <jarod@redhat.com>
First post2015-11-30 23:40 +0100
Last post2015-12-03 18:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH net-next] alx: remove pointless assignment Jarod Wilson <jarod@redhat.com> - 2015-11-30 23:40 +0100
    Re: [PATCH net-next] alx: remove pointless assignment David Miller <davem@davemloft.net> - 2015-12-03 18:00 +0100

#1280370 — [PATCH net-next] alx: remove pointless assignment

FromJarod Wilson <jarod@redhat.com>
Date2015-11-30 23:40 +0100
Subject[PATCH net-next] alx: remove pointless assignment
Message-ID<qAFgZ-18d-3@gated-at.bofh.it>
Reasonably sure this doesn't serve any purpose.

CC: Jay Cliburn <jcliburn@gmail.com>
CC: Chris Snook <chris.snook@gmail.com>
CC: netdev@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
---
 drivers/net/ethernet/atheros/alx/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/main.c
index 4f07cbf..549a8ce 100644
--- a/drivers/net/ethernet/atheros/alx/main.c
+++ b/drivers/net/ethernet/atheros/alx/main.c
@@ -577,7 +577,6 @@ static int alx_alloc_rings(struct alx_priv *alx)
 
 	alx->int_mask &= ~ALX_ISR_ALL_QUEUES;
 	alx->int_mask |= ALX_ISR_TX_Q0 | ALX_ISR_RX_Q0;
-	alx->tx_ringsz = alx->tx_ringsz;
 
 	netif_napi_add(alx->dev, &alx->napi, alx_poll, 64);
 
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1283190

FromDavid Miller <davem@davemloft.net>
Date2015-12-03 18:00 +0100
Message-ID<qBFoC-7HE-9@gated-at.bofh.it>
In reply to#1280370
From: Jarod Wilson <jarod@redhat.com>
Date: Mon, 30 Nov 2015 17:33:36 -0500

> Reasonably sure this doesn't serve any purpose.
> 
> CC: Jay Cliburn <jcliburn@gmail.com>
> CC: Chris Snook <chris.snook@gmail.com>
> CC: netdev@vger.kernel.org
> Signed-off-by: Jarod Wilson <jarod@redhat.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web