From 82d806b7ecaeef99df305198eb75a6a091c2d213 Mon Sep 17 00:00:00 2001 From: Alvin Zhang Date: Thu, 7 May 2020 17:36:36 +0800 Subject: [PATCH] net/igc: remove useless log 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 Acked-by: Xiaolong Ye --- drivers/net/igc/igc_txrx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/igc/igc_txrx.c b/drivers/net/igc/igc_txrx.c index 5b269b6fd2..4654ec41f0 100644 --- a/drivers/net/igc/igc_txrx.c +++ b/drivers/net/igc/igc_txrx.c @@ -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); -- 2.20.1