summaryrefslogtreecommitdiff
path: root/Kernel/TTY/PTYMultiplexer.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-08-14 07:01:19 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-08 00:42:20 +0200
commit21b6d84ff071779a90e351e9959c80e09193ec89 (patch)
treee545cf3e5b278bf0b258a97ccaca70d8c4590eed /Kernel/TTY/PTYMultiplexer.h
parent4f04cb98c1281ca7658ab60569898a5f83afc7b7 (diff)
downloadserenity-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.h4
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"; }