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:
68cd48d
)
net/qede/base: fix to remove redundant memset
author
Rasesh Mody
<rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:53:29 +0000
(23:53 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:44 +0000
(18:59 +0200)
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
97a0cbe
..
9e1be1a
100644
(file)
--- a/
drivers/net/qede/base/ecore_vf.c
+++ b/
drivers/net/qede/base/ecore_vf.c
@@
-387,8
+387,6
@@
enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_hwfn *p_hwfn)
return ECORE_NOMEM;
}
- OSAL_MEMSET(p_iov, 0, sizeof(*p_iov));
-
/* Allocate vf2pf msg */
p_iov->vf2pf_request = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev,
&p_iov->