summaryrefslogtreecommitdiff
path: root/Kernel/Arch
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-01-29 10:40:19 -0700
committerIdan Horowitz <idan.horowitz@gmail.com>2022-01-29 21:45:17 +0200
commitb0a54518d89cfad8fdc7a85576f72894bb40c950 (patch)
tree11c39a327e2cde47b8f9266a75ecdd35c7c8a1ad /Kernel/Arch
parente28af4a2fc2596502ab7d31bdd6d64a50abe6c5d (diff)
downloadserenity-b0a54518d89cfad8fdc7a85576f72894bb40c950.zip
Everywhere: Remove redundant inline keyword
`constexpr` implies `inline` so when both are used it is redundant.
Diffstat (limited to 'Kernel/Arch')
-rw-r--r--Kernel/Arch/aarch64/Registers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Kernel/Arch/aarch64/Registers.h b/Kernel/Arch/aarch64/Registers.h
index 0319c62c06..891da0f5a3 100644
--- a/Kernel/Arch/aarch64/Registers.h
+++ b/Kernel/Arch/aarch64/Registers.h
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2021, James Mintram <me@jamesrm.com>
* Copyright (c) 2021, Marcin Undak <mcinek@gmail.com>
+ * Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -145,7 +146,7 @@ struct TCR_EL1 {
return tcr_el1;
}
- static inline constexpr TCR_EL1 reset_value()
+ static constexpr TCR_EL1 reset_value()
{
return {};
}
@@ -220,7 +221,7 @@ struct SCTLR_EL1 {
return sctlr;
}
- static inline constexpr SCTLR_EL1 reset_value()
+ static constexpr SCTLR_EL1 reset_value()
{
SCTLR_EL1 system_control_register_el1 = {};
system_control_register_el1.LSMAOE = 1;