From 204fb2733323321027628ce032ce19de4cb0bff6 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 16 May 2020 11:34:54 +0200 Subject: [PATCH] Kernel: Remove now-unused KernelInfoPage.h --- Kernel/KernelInfoPage.h | 40 ---------------------------------------- Kernel/Process.cpp | 1 - Libraries/LibC/time.cpp | 1 - 3 files changed, 42 deletions(-) delete mode 100644 Kernel/KernelInfoPage.h diff --git a/Kernel/KernelInfoPage.h b/Kernel/KernelInfoPage.h deleted file mode 100644 index 122615c527..0000000000 --- a/Kernel/KernelInfoPage.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2018-2020, Andreas Kling - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#pragma once - -#include - -#ifdef KERNEL -# include -#else -# include -#endif - -struct KernelInfoPage { - volatile u32 serial; - volatile struct timeval now; -}; diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 0ea945c842..25421029e2 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -51,7 +51,6 @@ #include #include #include -#include #include #include #include diff --git a/Libraries/LibC/time.cpp b/Libraries/LibC/time.cpp index 602ac54e3a..4d19b2134b 100644 --- a/Libraries/LibC/time.cpp +++ b/Libraries/LibC/time.cpp @@ -26,7 +26,6 @@ #include #include -#include #include #include #include