mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +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
1 changed files with 0 additions and 1 deletions
|
@ -41,7 +41,6 @@ public:
|
||||||
virtual String device_name() const = 0;
|
virtual String device_name() const = 0;
|
||||||
|
|
||||||
virtual bool is_device() const override { return true; }
|
virtual bool is_device() const override { return true; }
|
||||||
virtual bool is_disk_device() const { return false; }
|
|
||||||
|
|
||||||
static void for_each(Function<void(Device&)>);
|
static void for_each(Function<void(Device&)>);
|
||||||
static Device* get_device(unsigned major, unsigned minor);
|
static Device* get_device(unsigned major, unsigned minor);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue