[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen: Drop superfluous semi-colons
commit 8e36c668ca107be8225bd31bf93520fc68d44fb8 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Tue Jan 30 22:13:17 2024 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Thu Feb 1 19:52:44 2024 +0000 xen: Drop superfluous semi-colons All these cases happen to be benign, but drop them anyway. This is one step towards making -Wextra-semi work. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/common/sched/private.h | 2 +- xen/drivers/acpi/apei/hest.c | 2 +- xen/include/xen/livepatch.h | 2 +- xen/include/xen/serial.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/common/sched/private.h b/xen/common/sched/private.h index 79e3f56c5a..26a196f428 100644 --- a/xen/common/sched/private.h +++ b/xen/common/sched/private.h @@ -518,7 +518,7 @@ static inline void sched_unit_unpause(const struct sched_unit *unit) } #define REGISTER_SCHEDULER(x) static const struct scheduler *x##_entry \ - __used_section(".data.schedulers") = &x; + __used_section(".data.schedulers") = &x struct cpupool { diff --git a/xen/drivers/acpi/apei/hest.c b/xen/drivers/acpi/apei/hest.c index 4ec28c3c11..34b376bc2d 100644 --- a/xen/drivers/acpi/apei/hest.c +++ b/xen/drivers/acpi/apei/hest.c @@ -86,7 +86,7 @@ static int hest_esrc_len(const struct acpi_hest_header *hest_hdr) BUG_ON(len == -1); return len; -}; +} int apei_hest_parse(apei_hest_func_t func, void *data) { diff --git a/xen/include/xen/livepatch.h b/xen/include/xen/livepatch.h index df339a134e..45df4bba4f 100644 --- a/xen/include/xen/livepatch.h +++ b/xen/include/xen/livepatch.h @@ -182,7 +182,7 @@ static inline int livepatch_op(struct xen_sysctl_livepatch_op *op) return -ENOSYS; } -static inline void check_for_livepatch_work(void) { }; +static inline void check_for_livepatch_work(void) {} static inline bool is_patch(const void *addr) { return 0; diff --git a/xen/include/xen/serial.h b/xen/include/xen/serial.h index 870ca2f6eb..12ef24351d 100644 --- a/xen/include/xen/serial.h +++ b/xen/include/xen/serial.h @@ -175,7 +175,7 @@ void ehci_dbgp_init(void); #ifdef CONFIG_XHCI void xhci_dbc_uart_init(void); #else -static void inline xhci_dbc_uart_init(void) {}; +static void inline xhci_dbc_uart_init(void) {} #endif void arm_uart_init(void); -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |