[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250804170916.3212221-3-christian.bruel@foss.st.com>
Date: Mon, 4 Aug 2025 19:09:15 +0200
From: Christian Bruel <christian.bruel@...s.st.com>
To: <mani@...nel.org>, <kwilczynski@...nel.org>, <kishon@...nel.org>,
<arnd@...db.de>, <gregkh@...uxfoundation.org>, <shuah@...nel.org>
CC: <linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-kselftest@...r.kernel.org>,
Christian Bruel
<christian.bruel@...s.st.com>
Subject: [PATCH 2/3] misc: pci_endpoint_test: Cleanup extra 0 initialization
NIT, memory is already set to 0 by devm_kzalloc.
Signed-off-by: Christian Bruel <christian.bruel@...s.st.com>
---
drivers/misc/pci_endpoint_test.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c
index 54f66ece25cd..fbdffe7bb739 100644
--- a/drivers/misc/pci_endpoint_test.c
+++ b/drivers/misc/pci_endpoint_test.c
@@ -1020,8 +1020,6 @@ static int pci_endpoint_test_probe(struct pci_dev *pdev,
if (!test)
return -ENOMEM;
- test->test_reg_bar = 0;
- test->alignment = 0;
test->pdev = pdev;
test->irq_type = PCITEST_IRQ_TYPE_UNDEFINED;
--
2.34.1
Powered by blists - more mailing lists