mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
Kernel/Net: Convert initializers to return NonnullRefPtr<NetworkAdapter>
There's no need for using NonnullLockRefPtr here.
This commit is contained in:
parent
b02ee664e7
commit
9f011592be
8 changed files with 13 additions and 13 deletions
|
@ -22,7 +22,7 @@ class RTL8168NetworkAdapter final : public NetworkAdapter
|
|||
, public IRQHandler {
|
||||
public:
|
||||
static ErrorOr<bool> probe(PCI::DeviceIdentifier const&);
|
||||
static ErrorOr<NonnullLockRefPtr<NetworkAdapter>> create(PCI::DeviceIdentifier const&);
|
||||
static ErrorOr<NonnullRefPtr<NetworkAdapter>> create(PCI::DeviceIdentifier const&);
|
||||
virtual ErrorOr<void> initialize(Badge<NetworkingManagement>) override;
|
||||
|
||||
virtual ~RTL8168NetworkAdapter() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue