diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 4b7e663feee3..9af9d3f7418f 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -3862,7 +3862,6 @@ static int testdrv_probe(struct pci_dev *pdev, const struct pci_device_id *id) size = info->dtbo_end - info->dtbo_begin; ret = of_overlay_fdt_apply(info->dtbo_begin, size, &ovcs_id, dn); - of_node_put(dn); if (ret) return ret;