diff options
author | Liav A <liavalb@gmail.com> | 2021-08-14 07:01:19 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-08 00:42:20 +0200 |
commit | 21b6d84ff071779a90e351e9959c80e09193ec89 (patch) | |
tree | e545cf3e5b278bf0b258a97ccaca70d8c4590eed /Kernel/TTY/PTYMultiplexer.h | |
parent | 4f04cb98c1281ca7658ab60569898a5f83afc7b7 (diff) | |
download | serenity-21b6d84ff071779a90e351e9959c80e09193ec89.zip |
Kernel/Devices: Remove required_mode and device_name methods
These methods are no longer needed because SystemServer is able to
populate the DevFS on its own.
Device absolute_path no longer assume a path to the /dev location,
because it really should not assume any path to a Device node.
Because StorageManagement still needs to know the storage name, we
declare a virtual method only for StorageDevices to override, but this
technique should really be removed later on.
Diffstat (limited to 'Kernel/TTY/PTYMultiplexer.h')
-rw-r--r-- | Kernel/TTY/PTYMultiplexer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/TTY/PTYMultiplexer.h b/Kernel/TTY/PTYMultiplexer.h index e6cbacb925..9401f3c7e3 100644 --- a/Kernel/TTY/PTYMultiplexer.h +++ b/Kernel/TTY/PTYMultiplexer.h @@ -35,10 +35,6 @@ public: void notify_master_destroyed(Badge<MasterPTY>, unsigned index); - // ^Device - virtual mode_t required_mode() const override { return 0666; } - virtual String device_name() const override { return "ptmx"; } - private: // ^CharacterDevice virtual StringView class_name() const override { return "PTYMultiplexer"; } |