On 3/20/19 7:14 AM, Yuval Shaia wrote: > Caller already clears props before calling query_device. > > Signed-off-by: Yuval Shaia <yuval.shaia@xxxxxxxxxx> > --- > drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c | 2 -- > 1 file changed, 2 deletions(-) > Thanks! Acked-by: Adit Ranadive <aditr@xxxxxxxxxx> > diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c > index f44220f72e05..b8e43b2380cc 100644 > --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c > +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c > @@ -70,8 +70,6 @@ int pvrdma_query_device(struct ib_device *ibdev, > if (uhw->inlen || uhw->outlen) > return -EINVAL; > > - memset(props, 0, sizeof(*props)); > - > props->fw_ver = dev->dsr->caps.fw_ver; > props->sys_image_guid = dev->dsr->caps.sys_image_guid; > props->max_mr_size = dev->dsr->caps.max_mr_size; >