1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

Kernel/USB: Tidy up USB::Transfer construction

This commit is contained in:
Andreas Kling 2021-09-06 00:18:32 +02:00
parent f4a9a0d561
commit 79fbad6df9
3 changed files with 5 additions and 9 deletions

View file

@ -19,7 +19,7 @@ namespace Kernel::USB {
class Transfer : public RefCounted<Transfer> {
public:
static RefPtr<Transfer> try_create(Pipe& pipe, u16 len);
static KResultOr<NonnullRefPtr<Transfer>> try_create(Pipe&, u16 length);
public:
Transfer() = delete;