From: Alvin Zhang Date: Thu, 7 May 2020 09:36:36 +0000 (+0800) Subject: net/igc: remove useless log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=82d806b7ecaeef99df305198eb75a6a091c2d213;p=dpdk.git 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 --- 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);