1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:38:12 +00:00

SystemServer: Remove unused code for generating /dev/hwrng

This device was removed in b596af363c, so
we can't really create anything related to it, therefore this piece of
code should be removed too.
This commit is contained in:
Liav A 2023-04-28 19:23:57 +03:00 committed by Jelle Raaijmakers
parent 9ab598af49
commit eb90d468ac

View file

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