mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
Kernel: Remove now-unused singleton methods from our network devices
This commit is contained in:
committed by
Andreas Kling
parent
93c16590f1
commit
13abb3e88b
@@ -107,18 +107,10 @@ OwnPtr<E1000NetworkAdapter> E1000NetworkAdapter::autodetect()
|
||||
return make<E1000NetworkAdapter>(found_address, irq);
|
||||
}
|
||||
|
||||
static E1000NetworkAdapter* s_the;
|
||||
E1000NetworkAdapter* E1000NetworkAdapter::the()
|
||||
{
|
||||
return s_the;
|
||||
}
|
||||
|
||||
E1000NetworkAdapter::E1000NetworkAdapter(PCI::Address pci_address, u8 irq)
|
||||
: IRQHandler(irq)
|
||||
, m_pci_address(pci_address)
|
||||
{
|
||||
s_the = this;
|
||||
|
||||
set_interface_name("e1k");
|
||||
|
||||
kprintf("E1000: Found at PCI address %b:%b:%b\n", pci_address.bus(), pci_address.slot(), pci_address.function());
|
||||
|
||||
Reference in New Issue
Block a user