mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
Everywhere: Remove unnecessary debug comments.
It would be tempting to uncomment these statements, but that won't work with the new changes. This was done with the following commands: find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/#define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/#define/ { toggle = 1 }' {} \; find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/ #define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/ #define/ { toggle = 1 }' {} \;
This commit is contained in:
parent
1a3a0836c0
commit
acdcf59a33
90 changed files with 0 additions and 200 deletions
|
@ -30,8 +30,6 @@
|
|||
#include <Kernel/Net/E1000NetworkAdapter.h>
|
||||
#include <Kernel/Thread.h>
|
||||
|
||||
//#define E1000_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
// clang-format off
|
||||
|
|
|
@ -43,8 +43,6 @@
|
|||
#include <LibC/errno_numbers.h>
|
||||
#include <LibC/sys/ioctl_numbers.h>
|
||||
|
||||
//#define IPV4_SOCKET_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<Lockable<HashTable<IPv4Socket*>>> s_table;
|
||||
|
|
|
@ -35,8 +35,6 @@
|
|||
#include <Kernel/UnixTypes.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
//#define DEBUG_LOCAL_SOCKET
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<Lockable<InlineLinkedList<LocalSocket>>> s_list;
|
||||
|
|
|
@ -40,15 +40,6 @@
|
|||
#include <Kernel/Net/UDPSocket.h>
|
||||
#include <Kernel/Process.h>
|
||||
|
||||
//#define NETWORK_TASK_DEBUG
|
||||
//#define ETHERNET_DEBUG
|
||||
//#define ETHERNET_VERY_DEBUG
|
||||
//#define ARP_DEBUG
|
||||
//#define IPV4_DEBUG
|
||||
//#define ICMP_DEBUG
|
||||
//#define UDP_DEBUG
|
||||
//#define TCP_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static void handle_arp(const EthernetFrameHeader&, size_t frame_size);
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
#include <Kernel/IO.h>
|
||||
#include <Kernel/Net/RTL8139NetworkAdapter.h>
|
||||
|
||||
//#define RTL8139_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
#define REG_MAC 0x00
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
#include <Kernel/Net/Routing.h>
|
||||
#include <Kernel/Thread.h>
|
||||
|
||||
//#define ROUTING_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<Lockable<HashMap<IPv4Address, MACAddress>>> s_arp_table;
|
||||
|
|
|
@ -35,8 +35,6 @@
|
|||
#include <Kernel/UnixTypes.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
//#define SOCKET_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
KResultOr<NonnullRefPtr<Socket>> Socket::create(int domain, int type, int protocol)
|
||||
|
|
|
@ -36,8 +36,6 @@
|
|||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Random.h>
|
||||
|
||||
//#define TCP_SOCKET_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
void TCPSocket::for_each(Function<void(const TCPSocket&)> callback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue