net/igc: remove useless log
authorAlvin Zhang <alvinx.zhang@intel.com>
Thu, 7 May 2020 09:36:36 +0000 (17:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
Some log will always be printed when the device is initialized
and shut down, which will mislead users and should be removed.

Fixes: 746664d546fb ("net/igc: support flow API")

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/igc/igc_txrx.c

index 5b269b6..4654ec4 100644 (file)
@@ -1035,10 +1035,8 @@ igc_clear_rss_filter(struct rte_eth_dev *dev)
 {
        struct igc_rss_filter *rss_filter = IGC_DEV_PRIVATE_RSS_FILTER(dev);
 
-       if (!rss_filter->enable) {
-               PMD_DRV_LOG(WARNING, "RSS filter not enabled!");
+       if (!rss_filter->enable)
                return;
-       }
 
        /* recover default RSS configuration */
        igc_rss_configure(dev);