diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-11 01:57:34 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-11 01:57:34 +0100 |
commit | a36eaeb18c955c3915c40da75d8bb3f299a05e1b (patch) | |
tree | defd380e8e349570e417b33e0daf1234791fce0a /Kernel | |
parent | 1678ac69ef4c23fe45830e3134e191f905bf60cb (diff) | |
download | serenity-a36eaeb18c955c3915c40da75d8bb3f299a05e1b.zip |
Kernel: Remove accidentally committed debugging code.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Process.cpp | 10 |
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; |