mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
Kernel: Switch RTL8168NetworkAdapter::possible_device_name to StringView
There is no need to allocate a `AK::String` for the device name, when the list of devices is entirely static.
This commit is contained in:
parent
2770433d30
commit
b90cc1148a
2 changed files with 15 additions and 15 deletions
|
@ -122,7 +122,7 @@ private:
|
|||
};
|
||||
|
||||
void identify_chip_version();
|
||||
String possible_device_name();
|
||||
StringView possible_device_name();
|
||||
|
||||
void reset();
|
||||
void read_mac_address();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue