diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-26 18:54:31 +0000 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-26 18:55:31 +0000 |
commit | e8414b96ba94dbc761ee97d7a67b7a28cfc3a8af (patch) | |
tree | 31264552547d8974a6f3a646efba4e0e29f46012 /sys/include | |
parent | 996114589d036918f77036ece745249b35687da0 (diff) |
kernel: style: Clean up and remove extra newlinesexpt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/arch/aarch64/pio.h | 1 | ||||
-rw-r--r-- | sys/include/crypto/chacha20.h | 1 | ||||
-rw-r--r-- | sys/include/dev/acpi/uacpi/uacpi/internal/namespace.h | 1 | ||||
-rw-r--r-- | sys/include/dev/acpi/uacpi/uacpi/platform/config.h | 1 | ||||
-rw-r--r-- | sys/include/dev/acpi/uacpi/uacpi/utilities.h | 1 | ||||
-rw-r--r-- | sys/include/dev/ic/nvmevar.h | 1 | ||||
-rw-r--r-- | sys/include/sys/exec.h | 1 | ||||
-rw-r--r-- | sys/include/sys/mmio.h | 1 | ||||
-rw-r--r-- | sys/include/sys/queue.h | 1 | ||||
-rw-r--r-- | sys/include/sys/tree.h | 1 | ||||
-rw-r--r-- | sys/include/vm/vm_pager.h | 1 |
11 files changed, 0 insertions, 11 deletions
diff --git a/sys/include/arch/aarch64/pio.h b/sys/include/arch/aarch64/pio.h index 4aaeece..41f07fb 100644 --- a/sys/include/arch/aarch64/pio.h +++ b/sys/include/arch/aarch64/pio.h @@ -39,5 +39,4 @@ #define outw(...) __nothing #define outl(...) __nothing - #endif /* _MACHINE_PIO_H_ */ diff --git a/sys/include/crypto/chacha20.h b/sys/include/crypto/chacha20.h index d35702a..267b13c 100644 --- a/sys/include/crypto/chacha20.h +++ b/sys/include/crypto/chacha20.h @@ -44,4 +44,3 @@ void chacha20_init(uint32_t state[16], const uint8_t key[32], void chacha20_block(uint32_t state[16], uint8_t out[64]); void chacha20_encrypt(uint32_t state[16], uint8_t *in, uint8_t *out, size_t len); - diff --git a/sys/include/dev/acpi/uacpi/uacpi/internal/namespace.h b/sys/include/dev/acpi/uacpi/uacpi/internal/namespace.h index 369c5a4..045e402 100644 --- a/sys/include/dev/acpi/uacpi/uacpi/internal/namespace.h +++ b/sys/include/dev/acpi/uacpi/uacpi/internal/namespace.h @@ -42,7 +42,6 @@ void uacpi_deinitialize_namespace(void); uacpi_namespace_node *uacpi_namespace_node_alloc(uacpi_object_name name); void uacpi_namespace_node_unref(uacpi_namespace_node *node); - uacpi_status uacpi_namespace_node_type_unlocked( const uacpi_namespace_node *node, uacpi_object_type *out_type ); diff --git a/sys/include/dev/acpi/uacpi/uacpi/platform/config.h b/sys/include/dev/acpi/uacpi/uacpi/platform/config.h index dff043f..b594338 100644 --- a/sys/include/dev/acpi/uacpi/uacpi/platform/config.h +++ b/sys/include/dev/acpi/uacpi/uacpi/platform/config.h @@ -67,7 +67,6 @@ UACPI_BUILD_BUG_ON_WITH_MSG( */ // #define UACPI_SIZED_FREES - /* * Makes uacpi_kernel_alloc_zeroed mandatory to implement by the host, uACPI * will not provide a default implementation if this is enabled. diff --git a/sys/include/dev/acpi/uacpi/uacpi/utilities.h b/sys/include/dev/acpi/uacpi/uacpi/utilities.h index dfc41c3..d7042e9 100644 --- a/sys/include/dev/acpi/uacpi/uacpi/utilities.h +++ b/sys/include/dev/acpi/uacpi/uacpi/utilities.h @@ -128,7 +128,6 @@ uacpi_status uacpi_eval_cls(uacpi_namespace_node*, uacpi_id_string **out_id); */ uacpi_status uacpi_eval_uid(uacpi_namespace_node*, uacpi_id_string **out_uid); - // uacpi_namespace_node_info->flags #define UACPI_NS_NODE_INFO_HAS_ADR (1 << 0) #define UACPI_NS_NODE_INFO_HAS_HID (1 << 1) diff --git a/sys/include/dev/ic/nvmevar.h b/sys/include/dev/ic/nvmevar.h index 8dbc7b9..f361d0a 100644 --- a/sys/include/dev/ic/nvmevar.h +++ b/sys/include/dev/ic/nvmevar.h @@ -200,7 +200,6 @@ struct nvme_rw_cmd { uint16_t appmask; }; - struct nvme_cmd { union { struct nvme_identify_cmd identify; diff --git a/sys/include/sys/exec.h b/sys/include/sys/exec.h index aa2a729..43df59f 100644 --- a/sys/include/sys/exec.h +++ b/sys/include/sys/exec.h @@ -32,7 +32,6 @@ #include <sys/types.h> - /* Danger: Do not change these !! */ #define AT_NULL 0 #define AT_ENTRY 1 diff --git a/sys/include/sys/mmio.h b/sys/include/sys/mmio.h index 9f6e4e2..0fa9e36 100644 --- a/sys/include/sys/mmio.h +++ b/sys/include/sys/mmio.h @@ -42,7 +42,6 @@ #if defined(_KERNEL) - /* * mmio_write<n> - Writes to MMIO address with specific size * diff --git a/sys/include/sys/queue.h b/sys/include/sys/queue.h index 92c1ff2..2226ccc 100644 --- a/sys/include/sys/queue.h +++ b/sys/include/sys/queue.h @@ -84,7 +84,6 @@ struct { \ ((tvar) = TAILQ_NEXT(var, field), 1); \ (var) = (tvar)) - #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ for((var) = TAILQ_LAST(head, headname); \ (var) != TAILQ_END(head); \ diff --git a/sys/include/sys/tree.h b/sys/include/sys/tree.h index 1054ade..6954185 100644 --- a/sys/include/sys/tree.h +++ b/sys/include/sys/tree.h @@ -746,7 +746,6 @@ name##_RB_MINMAX(struct name *head, int val) \ ((x) != NULL) && ((y) = name##_RB_PREV(x), 1); \ (x) = (y)) - /* * Copyright (c) 2016 David Gwynne <dlg@openbsd.org> * diff --git a/sys/include/vm/vm_pager.h b/sys/include/vm/vm_pager.h index e0503e0..4732234 100644 --- a/sys/include/vm/vm_pager.h +++ b/sys/include/vm/vm_pager.h @@ -40,7 +40,6 @@ struct vm_pagerops; extern const struct vm_pagerops vm_vnops; extern const struct vm_pagerops vm_anonops; - /* * Pager operations. * |