From: Anton Vorontsov Date: Mon, 12 Oct 2009 06:00:33 +0000 (+0000) Subject: gianfar: Don't needlessly set the wrap bit for the last RX BD X-Git-Tag: v2.6.33-rc1~388^2~837 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14231176b0dc358f8693f25b62017d222dd995e6;p=pandora-kernel.git gianfar: Don't needlessly set the wrap bit for the last RX BD startup_gfar() sets the wrap bit for the last rxbd just after gfar_new_rxbdp() call, which is issued for all rxbds. And gfar_new_rxbdp() has the following check already: if (bdp == priv->rx_bd_base + priv->rx_ring_size - 1) lstatus |= BD_LFLAG(RXBD_WRAP); So we don't need to set the bit again. Signed-off-by: Anton Vorontsov Signed-off-by: David S. Miller --- Reading git-diff-tree failed