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

Kernel: Some clang-tidy fixes in Bus/VirtIO

This commit is contained in:
Hendiadyoin1 2021-12-08 14:00:18 +01:00 committed by Brian Gianforcaro
parent 471b38db68
commit 9be409585c
5 changed files with 11 additions and 9 deletions

View file

@ -46,7 +46,7 @@ UNMAP_AFTER_INIT void detect()
});
}
static StringView const determine_device_class(PCI::DeviceIdentifier const& device_identifier)
static StringView determine_device_class(PCI::DeviceIdentifier const& device_identifier)
{
if (device_identifier.revision_id().value() == 0) {
// Note: If the device is a legacy (or transitional) device, therefore,