From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:14:40 +0000
Subject: [PATCH] add REDIRECT

---
 kernel/drivers/infiniband/hw/mthca/mthca_allocator.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/drivers/infiniband/hw/mthca/mthca_allocator.c b/kernel/drivers/infiniband/hw/mthca/mthca_allocator.c
index aaf10dd..aef1d27 100644
--- a/kernel/drivers/infiniband/hw/mthca/mthca_allocator.c
+++ b/kernel/drivers/infiniband/hw/mthca/mthca_allocator.c
@@ -214,8 +214,6 @@
 
 		dma_unmap_addr_set(&buf->direct, mapping, t);
 
-		memset(buf->direct.buf, 0, size);
-
 		while (t & ((1 << shift) - 1)) {
 			--shift;
 			npages *= 2;

--
Gitblit v1.6.2