NIT, memory is already set to 0 by devm_kzalloc. Signed-off-by: Christian Bruel <christian.br...@foss.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