mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:57:42 +00:00
Kernel: Remove now-unused singleton methods from our network devices
This commit is contained in:
parent
93c16590f1
commit
13abb3e88b
4 changed files with 0 additions and 22 deletions
|
@ -113,18 +113,10 @@ OwnPtr<RTL8139NetworkAdapter> RTL8139NetworkAdapter::autodetect()
|
|||
return make<RTL8139NetworkAdapter>(found_address, irq);
|
||||
}
|
||||
|
||||
static RTL8139NetworkAdapter* s_the;
|
||||
RTL8139NetworkAdapter* RTL8139NetworkAdapter::the()
|
||||
{
|
||||
return s_the;
|
||||
}
|
||||
|
||||
RTL8139NetworkAdapter::RTL8139NetworkAdapter(PCI::Address pci_address, u8 irq)
|
||||
: IRQHandler(irq)
|
||||
, m_pci_address(pci_address)
|
||||
{
|
||||
s_the = this;
|
||||
|
||||
set_interface_name("rtl8139");
|
||||
|
||||
kprintf("RTL8139: Found at PCI address %b:%b:%b\n", pci_address.bus(), pci_address.slot(), pci_address.function());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue