瀏覽代碼

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.
Liav A 4 年之前
父節點
當前提交
d189cb6a24
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Kernel/Devices/Device.h

+ 0 - 1
Kernel/Devices/Device.h

@@ -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);