alx: remove pointless assignment
authorJarod Wilson <jarod@redhat.com>
Mon, 30 Nov 2015 22:33:36 +0000 (17:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:58:12 +0000 (11:58 -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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/main.c

index c8af3ce3ea38d16d4c470ec5773b2d4f088b0f15..0a81808f19685ab57cd8d0441ccc812f4cf4a00f 100644 (file)
@@ -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);