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:
613949f
)
net/qede/base: refactor return path
author
Rasesh Mody
<rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:53:33 +0000
(23:53 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:45 +0000
(18:59 +0200)
No need to return - base on return at end of function.
Fixes:
22d07d939c3c
("net/qede/base: update")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_vf.c
patch
|
blob
|
history
diff --git
a/drivers/net/qede/base/ecore_vf.c
b/drivers/net/qede/base/ecore_vf.c
index
9e1be1a
..
05ceefd
100644
(file)
--- a/
drivers/net/qede/base/ecore_vf.c
+++ b/
drivers/net/qede/base/ecore_vf.c
@@
-126,7
+126,6
@@
ecore_send_msg2pf(struct ecore_hwfn *p_hwfn,
"VF <-- PF Timeout [Type %d]\n",
p_req->first_tlv.tl.type);
rc = ECORE_TIMEOUT;
- return rc;
} else {
DP_VERBOSE(p_hwfn, ECORE_MSG_IOV,
"PF response: %d [Type %d]\n",