staging: octeon-ethernet: eliminate USE_RED define

We have RED always enabled, so eliminate the #define.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Aaro Koskinen 2015-04-04 22:51:18 +03:00 committed by Greg Kroah-Hartman
parent 3a990f390e
commit cccdb27755
2 changed files with 1 additions and 6 deletions

View file

@ -52,8 +52,6 @@
#define REUSE_SKBUFFS_WITHOUT_FREE 1
#endif
/* Enable Random Early Dropping under load */
#define USE_RED 1
#define USE_ASYNC_IOBDMA (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)
/*

View file

@ -180,10 +180,7 @@ static void cvm_oct_configure_common_hw(void)
}
#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);
}
/**