From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:43:03 +0000
Subject: [PATCH] add ax88772C AX88772C_eeprom_tools
---
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