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/dev | |
parent | 996114589d036918f77036ece745249b35687da0 (diff) |
kernel: style: Clean up and remove extra newlinesexpt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpi/uacpi/event.c | 1 | ||||
-rw-r--r-- | sys/dev/acpi/uacpi/resources.c | 1 | ||||
-rw-r--r-- | sys/dev/acpi/uacpi/tables.c | 1 | ||||
-rw-r--r-- | sys/dev/acpi/uacpi/utilities.c | 1 | ||||
-rw-r--r-- | sys/dev/cons/cons.c | 1 | ||||
-rw-r--r-- | sys/dev/pci/pci.c | 2 | ||||
-rw-r--r-- | sys/dev/video/fbdev.c | 1 |
7 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/acpi/uacpi/event.c b/sys/dev/acpi/uacpi/event.c index 0c58372..62412ac 100644 --- a/sys/dev/acpi/uacpi/event.c +++ b/sys/dev/acpi/uacpi/event.c @@ -1054,7 +1054,6 @@ static uacpi_status create_gpe_block( */ reg->base_idx = base_idx + (i * EVENTS_PER_GPE_REGISTER); - tmp_gas.address = address + i; ret = uacpi_map_gas_noalloc(&tmp_gas, ®->status); if (uacpi_unlikely_error(ret)) diff --git a/sys/dev/acpi/uacpi/resources.c b/sys/dev/acpi/uacpi/resources.c index a9bcb82..f1a25ec 100644 --- a/sys/dev/acpi/uacpi/resources.c +++ b/sys/dev/acpi/uacpi/resources.c @@ -602,7 +602,6 @@ static uacpi_size aml_size_for_serial_connection( #define ARG1(value) .f2.arg1 = (value) #define ARG2(value) .f3.arg2 = (value) - static const struct uacpi_resource_convert_instruction convert_irq_to_native[] = { OP(PACKED_ARRAY_16, AML_F(irq, irq_mask), NATIVE_F(irq, irqs), ARG2(NATIVE_O(irq, num_irqs))), diff --git a/sys/dev/acpi/uacpi/tables.c b/sys/dev/acpi/uacpi/tables.c index df7d7b9..3314fd1 100644 --- a/sys/dev/acpi/uacpi/tables.c +++ b/sys/dev/acpi/uacpi/tables.c @@ -1211,7 +1211,6 @@ static void gas_init_system_io( gas->access_size = 0; } - struct register_description { uacpi_size offset, xoffset; uacpi_size length_offset; diff --git a/sys/dev/acpi/uacpi/utilities.c b/sys/dev/acpi/uacpi/utilities.c index c7ca20a..059c574 100644 --- a/sys/dev/acpi/uacpi/utilities.c +++ b/sys/dev/acpi/uacpi/utilities.c @@ -963,7 +963,6 @@ static uacpi_iteration_decision find_one_device( return ctx->cb(ctx->user, node, depth); } - uacpi_status uacpi_find_devices_at( uacpi_namespace_node *parent, const uacpi_char *const *hids, uacpi_iteration_callback cb, void *user diff --git a/sys/dev/cons/cons.c b/sys/dev/cons/cons.c index d9d727a..0bb33b1 100644 --- a/sys/dev/cons/cons.c +++ b/sys/dev/cons/cons.c @@ -85,7 +85,6 @@ rgb_invert(uint32_t rgb) return ret; } - /* * Render a character onto the screen. * diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 9dfb90e..140a363 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -331,7 +331,6 @@ pci_get_device(struct pci_lookup lookup, uint16_t lookup_type) return NULL; } - void pci_add_device(struct pci_device *dev) { @@ -340,7 +339,6 @@ pci_add_device(struct pci_device *dev) spinlock_release(&devlist_lock); } - pcireg_t pci_readl(struct pci_device *dev, uint32_t offset) { diff --git a/sys/dev/video/fbdev.c b/sys/dev/video/fbdev.c index 6b1c6c8..f58a813 100644 --- a/sys/dev/video/fbdev.c +++ b/sys/dev/video/fbdev.c @@ -114,7 +114,6 @@ fbdev_init(void) dev_register(major, dev, &fb_cdevsw); devfs_create_entry(devname, major, dev, 0444); - /* Register control files */ ctl.mode = 0444; ctlfs_create_node(devname, &ctl); |