mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
Revert "chardev: add additional check for minor range overlap"
This reverts commit bb22efcb87.
This commit is contained in:
@@ -149,12 +149,6 @@ __register_chrdev_region(unsigned int major, unsigned int baseminor,
|
||||
ret = -EBUSY;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (new_min < old_min && new_max > old_max) {
|
||||
ret = -EBUSY;
|
||||
goto out;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
cd->next = *cp;
|
||||
|
||||
Reference in New Issue
Block a user