Revert "fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()"

This reverts commit 44253057c4.
This commit is contained in:
Ksawlii 2024-11-24 00:23:26 +01:00
parent c853cd8bc0
commit 501def0b88

View file

@ -344,7 +344,6 @@ static int hpfb_dio_probe(struct dio_dev *d, const struct dio_device_id *ent)
if (hpfb_init_one(paddr, vaddr)) {
if (d->scode >= DIOII_SCBASE)
iounmap((void *)vaddr);
release_mem_region(d->resource.start, resource_size(&d->resource));
return -ENOMEM;
}
return 0;