|
@@ -45,10 +45,4 @@ UNMAP_AFTER_INIT void SysFSUSBBusDirectory::initialize()
|
|
|
s_sysfs_usb_bus_directory = directory;
|
|
|
}
|
|
|
|
|
|
-ErrorOr<NonnullRefPtr<SysFSUSBDeviceInformation>> SysFSUSBDeviceInformation::create(USB::Device& device)
|
|
|
-{
|
|
|
- auto device_name = TRY(KString::number(device.address()));
|
|
|
- return adopt_nonnull_ref_or_enomem(new (nothrow) SysFSUSBDeviceInformation(move(device_name), device));
|
|
|
-}
|
|
|
-
|
|
|
}
|