]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/gianfar.c
gianfar: Don't needlessly set the wrap bit for the last RX BD
[karo-tx-linux.git] / drivers / net / gianfar.c
index a8b50c9b2d9493d8be5e30a758480823a32c177d..f84974195507dd0ac28628362c791b8f2e91dccd 100644 (file)
@@ -1028,10 +1028,6 @@ int startup_gfar(struct net_device *ndev)
                rxbdp++;
        }
 
-       /* Set the last descriptor in the ring to wrap */
-       rxbdp--;
-       rxbdp->status |= RXBD_WRAP;
-
        /* If the device has multiple interrupts, register for
         * them.  Otherwise, only register for the one */
        if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MULTI_INTR) {