summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/PCI/Access.cpp5
-rw-r--r--Kernel/PCI/Definitions.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/Kernel/PCI/Access.cpp b/Kernel/PCI/Access.cpp
index de8b24a382..6197e6a7f1 100644
--- a/Kernel/PCI/Access.cpp
+++ b/Kernel/PCI/Access.cpp
@@ -222,11 +222,6 @@ u8 get_interrupt_line(Address address)
return read8(address, PCI_INTERRUPT_LINE);
}
-void set_interrupt_line(Address address, u8 new_line)
-{
- write8(address, PCI_INTERRUPT_LINE, new_line);
-}
-
u32 get_BAR0(Address address)
{
return read32(address, PCI_BAR0);
diff --git a/Kernel/PCI/Definitions.h b/Kernel/PCI/Definitions.h
index 968c548e84..23d3cf0da0 100644
--- a/Kernel/PCI/Definitions.h
+++ b/Kernel/PCI/Definitions.h
@@ -204,7 +204,6 @@ void enumerate(Function<void(Address, ID)> callback);
void enable_interrupt_line(Address);
void disable_interrupt_line(Address);
u8 get_interrupt_line(Address);
-void set_interrupt_line(Address, u8);
void raw_access(Address, u32, size_t, u32);
u32 get_BAR0(Address);
u32 get_BAR1(Address);