diff options
author | asynts <asynts@gmail.com> | 2021-01-23 23:45:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-25 09:47:36 +0100 |
commit | acdcf59a333b0fe9a709ee53b2a82b26b346b747 (patch) | |
tree | 88d7ab0c97a5b5174331ba0d7d7a9071ebac04cc /Kernel/Time/HPET.cpp | |
parent | 1a3a0836c017ab5e5672472033f3ff369dc33c39 (diff) | |
download | serenity-acdcf59a333b0fe9a709ee53b2a82b26b346b747.zip |
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 }' {} \;
Diffstat (limited to 'Kernel/Time/HPET.cpp')
-rw-r--r-- | Kernel/Time/HPET.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/Time/HPET.cpp b/Kernel/Time/HPET.cpp index ad6cb7537e..f44ebc2a8b 100644 --- a/Kernel/Time/HPET.cpp +++ b/Kernel/Time/HPET.cpp @@ -40,8 +40,6 @@ namespace Kernel { #define NANOSECOND_PERIOD_TO_HERTZ(x) 1000000000 / x #define MEGAHERTZ_TO_HERTZ(x) (x / 1000000) -//#define HPET_DEBUG - namespace HPETFlags { enum class Attributes { Counter64BitCapable = 1 << 13, |