From: Rasesh Mody Date: Sat, 18 Mar 2017 06:53:29 +0000 (-0700) Subject: net/qede/base: fix to remove redundant memset X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=96d1cace81f7716f0c525f929da0f17a982f50a3;p=dpdk.git net/qede/base: fix to remove redundant memset Fixes: 22d07d939c3c ("net/qede/base: update") Signed-off-by: Rasesh Mody --- diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c index 97a0cbec80..9e1be1a097 100644 --- 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->