forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/vdpa/mlx5/core/mr.c
....@@ -448,7 +448,6 @@
448448 unmap_direct_mr(mvdev, dmr);
449449 kfree(dmr);
450450 }
451
- memset(mr, 0, sizeof(*mr));
452451 mr->initialized = false;
453452 out:
454453 mutex_unlock(&mr->mkey_mtx);