summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-11 01:57:34 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-11 01:57:34 +0100
commita36eaeb18c955c3915c40da75d8bb3f299a05e1b (patch)
treedefd380e8e349570e417b33e0daf1234791fce0a /Kernel
parent1678ac69ef4c23fe45830e3134e191f905bf60cb (diff)
downloadserenity-a36eaeb18c955c3915c40da75d8bb3f299a05e1b.zip
Kernel: Remove accidentally committed debugging code.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Process.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 0740a99cf0..2d09825b37 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -1922,16 +1922,6 @@ int Process::sys$setpgid(pid_t specified_pid, pid_t specified_pgid)
int Process::sys$ioctl(int fd, unsigned request, unsigned arg)
{
- if (auto* e1000 = E1000NetworkAdapter::the()) {
- ARPPacket arp;
- arp.hardware_type = 1; // Ethernet
- arp.hardware_address_length = 6; // MAC length
- arp.protocol_type = 0x0800; // IPv4
- arp.protocol_address_length = 4; // IP length
- arp.operation = 1; // 1 (request)
- e1000->send(MACAddress(), arp);
- }
-
auto* descriptor = file_descriptor(fd);
if (!descriptor)
return -EBADF;