[etrax] enable optimize for size, avoid to trigger gcc bug #36482
[openwrt.git] / target / linux / atheros / patches-2.6.28 / 110-ar2313_ethernet.patch
index 3643c96..49ca66e 100644 (file)
@@ -25,7 +25,7 @@
  obj-$(CONFIG_DECLANCE) += declance.o
 --- /dev/null
 +++ b/drivers/net/ar231x.c
-@@ -0,0 +1,1265 @@
+@@ -0,0 +1,1264 @@
 +/*
 + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
 + *
 +                      break;
 +              }
 +
-+              if ((status & (DMA_RX_ERROR | DMA_RX_ERR_LENGTH)) &&
-+                      (!(status & DMA_RX_LONG))) {
++              if ((status & DMA_RX_ERROR) && !(status & DMA_RX_LONG)) {
 +                      dev->stats.rx_errors++;
 +                      dev->stats.rx_dropped++;
 +
This page took 0.022858 seconds and 4 git commands to generate.