git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e949eaa
)
net/atlantic: remove extra error check
author
Igor Russkikh
<igor.russkikh@aquantia.com>
Mon, 29 Apr 2019 08:20:28 +0000
(08:20 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000
(18:45 +0200)
Found by Coverity scan - dead code
Coverity issue: 337665
Fixes:
7943ba05f67c
("net/atlantic: add link status and interrupt management")
Cc: stable@dpdk.org
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/atl_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/atlantic/atl_ethdev.c
b/drivers/net/atlantic/atl_ethdev.c
index
e15173f
..
c9c1795
100644
(file)
--- a/
drivers/net/atlantic/atl_ethdev.c
+++ b/
drivers/net/atlantic/atl_ethdev.c
@@
-602,9
+602,6
@@
atl_dev_start(struct rte_eth_dev *dev)
dev->data->dev_link.link_status = hw->aq_link_status.mbps != 0;
- if (err)
- goto error;
-
if (rte_intr_allow_others(intr_handle)) {
/* check if lsc interrupt is enabled */
if (dev->data->dev_conf.intr_conf.lsc != 0)