summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/x86/DescriptorTable.h1
-rw-r--r--Kernel/Devices/VMWareBackdoor.cpp1
-rw-r--r--Kernel/Storage/Partition/DiskPartitionMetadata.cpp2
-rw-r--r--Kernel/Syscalls/execve.cpp1
-rw-r--r--Kernel/UBSanitizer.cpp1
5 files changed, 0 insertions, 6 deletions
diff --git a/Kernel/Arch/x86/DescriptorTable.h b/Kernel/Arch/x86/DescriptorTable.h
index be9d4efe43..6fe76fd411 100644
--- a/Kernel/Arch/x86/DescriptorTable.h
+++ b/Kernel/Arch/x86/DescriptorTable.h
@@ -103,7 +103,6 @@ enum class IDTEntryType {
// clang-format off
struct [[gnu::packed]] IDTEntry
{
-
u16 offset_1; // offset bits 0..15
u16 selector; // a code segment selector in GDT or LDT
diff --git a/Kernel/Devices/VMWareBackdoor.cpp b/Kernel/Devices/VMWareBackdoor.cpp
index 847e399ad1..137747fcde 100644
--- a/Kernel/Devices/VMWareBackdoor.cpp
+++ b/Kernel/Devices/VMWareBackdoor.cpp
@@ -45,7 +45,6 @@ inline void vmware_out(VMWareCommand& command)
inline void vmware_high_bandwidth_send(VMWareCommand& command)
{
-
command.magic = VMWARE_MAGIC;
command.port = VMWARE_PORT_HIGHBANDWIDTH;
diff --git a/Kernel/Storage/Partition/DiskPartitionMetadata.cpp b/Kernel/Storage/Partition/DiskPartitionMetadata.cpp
index 9b74735b5d..d95ea80fed 100644
--- a/Kernel/Storage/Partition/DiskPartitionMetadata.cpp
+++ b/Kernel/Storage/Partition/DiskPartitionMetadata.cpp
@@ -42,7 +42,6 @@ DiskPartitionMetadata::DiskPartitionMetadata(u64 start_block, u64 end_block, u8
, m_end_block(end_block)
, m_type(partition_type)
{
-
VERIFY(m_type.is_valid());
}
@@ -51,7 +50,6 @@ DiskPartitionMetadata::DiskPartitionMetadata(u64 start_block, u64 end_block, Arr
, m_end_block(end_block)
, m_type(partition_type)
{
-
VERIFY(m_type.is_valid());
}
diff --git a/Kernel/Syscalls/execve.cpp b/Kernel/Syscalls/execve.cpp
index cb7f41b4bb..eb2b6a59d1 100644
--- a/Kernel/Syscalls/execve.cpp
+++ b/Kernel/Syscalls/execve.cpp
@@ -717,7 +717,6 @@ static KResultOr<Vector<String>> find_shebang_interpreter_for_executable(const c
KResultOr<RefPtr<FileDescription>> Process::find_elf_interpreter_for_executable(const String& path, const Elf32_Ehdr& main_program_header, int nread, size_t file_size)
{
-
// Not using KResultOr here because we'll want to do the same thing in userspace in the RTLD
String interpreter_path;
if (!ELF::validate_program_headers(main_program_header, file_size, (const u8*)&main_program_header, nread, &interpreter_path)) {
diff --git a/Kernel/UBSanitizer.cpp b/Kernel/UBSanitizer.cpp
index 9963f23458..7777612f6a 100644
--- a/Kernel/UBSanitizer.cpp
+++ b/Kernel/UBSanitizer.cpp
@@ -89,7 +89,6 @@ void __ubsan_handle_sub_overflow(const OverflowData& data, ValueHandle, ValueHan
void __ubsan_handle_negate_overflow(const OverflowData&, ValueHandle);
void __ubsan_handle_negate_overflow(const OverflowData& data, ValueHandle)
{
-
dbgln("KUBSAN: negation overflow, {} ({}-bit)", data.type.name(), data.type.bit_width());
print_location(data.location);