From 748e4f3d702def1a4bff191e0cf93b6a05340f01 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:41:34 +0000
Subject: [PATCH] add gpio led uart
---
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