From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 01:13:52 +0000
Subject: [PATCH] disable i2c1

---
 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