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.compull/1354/merge
parent
cc8e391067
commit
384b1b2948
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue