From: Jarod Wilson Date: Mon, 30 Nov 2015 22:33:36 +0000 (-0500) Subject: alx: remove pointless assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24e2416e5ad2142bd1ab71ed8344c3fb9001c0ca;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git alx: remove pointless assignment Reasonably sure this doesn't serve any purpose. CC: Jay Cliburn CC: Chris Snook CC: netdev@vger.kernel.org Signed-off-by: Jarod Wilson Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/main.c index c8af3ce3ea38..0a81808f1968 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);