misc: pci_endpoint_test: Cleanup extra 0 initialization

Initialization is not needed as memory is already set to 0 by devm_kzalloc.

Signed-off-by: Christian Bruel <christian.bruel@foss.st.com>
[mani: reworded description]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250804170916.3212221-3-christian.bruel@foss.st.com
pull/1354/merge
Christian Bruel 2025-08-04 19:09:15 +02:00 committed by Manivannan Sadhasivam
parent cc8e391067
commit 384b1b2948
1 changed files with 0 additions and 2 deletions

View File

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