From 8db9a3145b9670ccc9030abbc0d20956b2ebb26e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 19 Jun 2019 11:22:17 -0700 Subject: [PATCH] net/qede: fix warnings from invalid assert MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This driver had a bogus assert which could never happen. This triggers "expression is always false warnings" with some compilers which causes build failure. Just remove it. Fixes: 2af14ca79c0a ("net/qede: support 100G") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Acked-by: Rasesh Mody Acked-by: Morten Brørup --- drivers/net/qede/qede_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 84d898421b..82363e6eba 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -1426,7 +1426,6 @@ static void qede_poll_sp_sb_cb(void *param) if (rc != 0) { DP_ERR(edev, "Unable to start periodic" " timer rc %d\n", rc); - assert(false && "Unable to start periodic timer"); } } -- 2.20.1