diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c --- a/sys/dev/igc/if_igc.c +++ b/sys/dev/igc/if_igc.c @@ -32,10 +32,9 @@ #include #include -#ifdef RSS #include #include -#endif + /********************************************************************* * PCI Device ID Table @@ -1940,12 +1939,8 @@ */ mrqc = IGC_MRQC_ENABLE_RSS_4Q; -#ifdef RSS /* XXX ew typecasting */ rss_getkey((uint8_t *) &rss_key); -#else - arc4rand(&rss_key, sizeof(rss_key), 0); -#endif for (i = 0; i < RSSKEYLEN; i++) IGC_WRITE_REG_ARRAY(hw, IGC_RSSRK(0), i, rss_key[i]); diff --git a/sys/dev/igc/igc_txrx.c b/sys/dev/igc/igc_txrx.c --- a/sys/dev/igc/igc_txrx.c +++ b/sys/dev/igc/igc_txrx.c @@ -30,10 +30,8 @@ #include #include "if_igc.h" -#ifdef RSS #include #include -#endif #ifdef VERBOSE_DEBUG #define DPRINTF device_printf