summaryrefslogtreecommitdiff
path: root/Kernel/Bus/USB
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-01-28 20:12:17 +0000
committerJelle Raaijmakers <jelle@gmta.nl>2023-01-28 22:41:36 +0100
commit9c08bb95553539d1880a5ac81ba5608d4ad874de (patch)
treee3774fe4f7ce021b9331ddbac3846e62e25778a6 /Kernel/Bus/USB
parent909c2a73c4aa2359e3670b7e93d9a5051ba3881e (diff)
downloadserenity-9c08bb95553539d1880a5ac81ba5608d4ad874de.zip
AK: Remove `try_` prefix from FixedArray creation functions
Diffstat (limited to 'Kernel/Bus/USB')
-rw-r--r--Kernel/Bus/USB/USBConfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/USB/USBConfiguration.cpp b/Kernel/Bus/USB/USBConfiguration.cpp
index bf913f0006..ecf86aaf48 100644
--- a/Kernel/Bus/USB/USBConfiguration.cpp
+++ b/Kernel/Bus/USB/USBConfiguration.cpp
@@ -15,7 +15,7 @@ namespace Kernel::USB {
ErrorOr<void> USBConfiguration::enumerate_interfaces()
{
- auto descriptor_hierarchy_buffer = TRY(FixedArray<u8>::try_create(m_descriptor.total_length)); // Buffer for us to store the entire hierarchy into
+ auto descriptor_hierarchy_buffer = TRY(FixedArray<u8>::create(m_descriptor.total_length)); // Buffer for us to store the entire hierarchy into
// The USB spec is a little bit janky here... Interface and Endpoint descriptors aren't fetched
// through a `GET_DESCRIPTOR` request to the device. Instead, the _entire_ hierarchy is returned