Commit cccdb277 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: octeon-ethernet: eliminate USE_RED define

We have RED always enabled, so eliminate the #define.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a990f39
...@@ -52,8 +52,6 @@ ...@@ -52,8 +52,6 @@
#define REUSE_SKBUFFS_WITHOUT_FREE 1 #define REUSE_SKBUFFS_WITHOUT_FREE 1
#endif #endif
/* Enable Random Early Dropping under load */
#define USE_RED 1
#define USE_ASYNC_IOBDMA (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0) #define USE_ASYNC_IOBDMA (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)
/* /*
......
...@@ -180,10 +180,7 @@ static void cvm_oct_configure_common_hw(void) ...@@ -180,10 +180,7 @@ static void cvm_oct_configure_common_hw(void)
} }
#endif #endif
if (USE_RED) cvmx_helper_setup_red(num_packet_buffers / 4, num_packet_buffers / 8);
cvmx_helper_setup_red(num_packet_buffers / 4,
num_packet_buffers / 8);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment