Remove "INFO" level log when no interrupt event
indicated in alarm handler, otherwise there will
be lots of prints which makes console unusable.

Signed-off-by: Beilei Xing <beilei.x...@intel.com>
---
 drivers/net/i40e/i40e_ethdev.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 24d73f2..974e6c6 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -6579,10 +6579,8 @@ i40e_dev_alarm_handler(void *param)
        icr0 = I40E_READ_REG(hw, I40E_PFINT_ICR0);
 
        /* No interrupt event indicated */
-       if (!(icr0 & I40E_PFINT_ICR0_INTEVENT_MASK)) {
-               PMD_DRV_LOG(INFO, "No interrupt event");
+       if (!(icr0 & I40E_PFINT_ICR0_INTEVENT_MASK))
                goto done;
-       }
        if (icr0 & I40E_PFINT_ICR0_ECC_ERR_MASK)
                PMD_DRV_LOG(ERR, "ICR0: unrecoverable ECC error");
        if (icr0 & I40E_PFINT_ICR0_MAL_DETECT_MASK)
-- 
2.5.5

Reply via email to