Revert "fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()"
This reverts commit 44253057c4
.
This commit is contained in:
parent
c853cd8bc0
commit
501def0b88
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue