git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/ixgbe/base: remove unnecessary return value check
[dpdk.git]
/
drivers
/
net
/
ixgbe
/
base
/
ixgbe_82599.c
diff --git
a/drivers/net/ixgbe/base/ixgbe_82599.c
b/drivers/net/ixgbe/base/ixgbe_82599.c
index
38ab58d
..
e425f28
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_82599.c
+++ b/
drivers/net/ixgbe/base/ixgbe_82599.c
@@
-2093,9
+2093,7
@@
s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw)
if (ret_val != IXGBE_SUCCESS)
goto out;
- ret_val = ixgbe_start_hw_gen2(hw);
- if (ret_val != IXGBE_SUCCESS)
- goto out;
+ ixgbe_start_hw_gen2(hw);
/* We need to run link autotry after the driver loads */
hw->mac.autotry_restart = true;