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:
parent
f4a9a0d561
commit
79fbad6df9
3 changed files with 5 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue