mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
Kernel/Devices: Remove unnecessary virtual method
The is_disk_device method is not being overrided by any class or called by anyone, so let's just remove it.
This commit is contained in:
parent
1a19d2c2df
commit
d189cb6a24
Notes:
sideshowbarker
2024-07-18 04:46:46 +09:00
Author: https://github.com/supercomputer7
Commit: d189cb6a24
Pull-request: https://github.com/SerenityOS/serenity/pull/9802
1 changed files with 0 additions and 1 deletions
|
@ -41,7 +41,6 @@ public:
|
|||
virtual String device_name() const = 0;
|
||||
|
||||
virtual bool is_device() const override { return true; }
|
||||
virtual bool is_disk_device() const { return false; }
|
||||
|
||||
static void for_each(Function<void(Device&)>);
|
||||
static Device* get_device(unsigned major, unsigned minor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue