summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2023-04-28 19:23:57 +0300
committerJelle Raaijmakers <jelle@gmta.nl>2023-04-28 23:26:31 +0200
commiteb90d468ac18be5c6dd8435d8756f1b40f2ff78c (patch)
treee09a58895fb45fff909465867f3a5eb05f167c9a /Userland/Services
parent9ab598af4984c0590358123af630e0e65e310b72 (diff)
downloadserenity-eb90d468ac18be5c6dd8435d8756f1b40f2ff78c.zip
SystemServer: Remove unused code for generating /dev/hwrng
This device was removed in b596af363c30de5323641fab69ad50c712f526e2, so we can't really create anything related to it, therefore this piece of code should be removed too.
Diffstat (limited to 'Userland/Services')
-rw-r--r--Userland/Services/SystemServer/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp
index fd6a66ae3d..688e1a1e82 100644
--- a/Userland/Services/SystemServer/main.cpp
+++ b/Userland/Services/SystemServer/main.cpp
@@ -235,10 +235,6 @@ static ErrorOr<void> populate_devtmpfs_devices_based_on_devctl()
TRY(create_devtmpfs_char_device("/dev/input/mouse/0"sv, 0666, 10, 0));
break;
}
- case 183: {
- TRY(create_devtmpfs_char_device("/dev/hwrng"sv, 0666, 10, 183));
- break;
- }
default:
warnln("Unknown character device {}:{}", major_number, minor_number);
}