From eb90d468ac18be5c6dd8435d8756f1b40f2ff78c Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 28 Apr 2023 19:23:57 +0300 Subject: 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. --- Userland/Services/SystemServer/main.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Userland/Services') 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 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); } -- cgit v1.2.3