summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-06-19 11:22:17 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2019-06-24 12:25:03 +0100
commit8db9a3145b9670ccc9030abbc0d20956b2ebb26e (patch)
treef1b6495af0a5b764f3eb9225c1de498d6b9c89e8
parent19927e56a853d9506d640a59fea7d2ec5ec2f208 (diff)
downloaddpdk-8db9a3145b9670ccc9030abbc0d20956b2ebb26e.zip
dpdk-8db9a3145b9670ccc9030abbc0d20956b2ebb26e.tar.gz
dpdk-8db9a3145b9670ccc9030abbc0d20956b2ebb26e.tar.xz
net/qede: fix warnings from invalid assert
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 <stephen@networkplumber.org> Acked-by: Rasesh Mody <rmody@marvell.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
-rw-r--r--drivers/net/qede/qede_ethdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c
index 84d8984..82363e6 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");
}
}