xen: Drop superfluous semi-colons
PATCH 1/1 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 <[email protected]>
---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Wei Liu <[email protected]>
CC: Julien Grall <[email protected]>
--- 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(-)
xen/common/sched/private.h +1 -1
@@ -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") = &xstruct cpupool {
xen/drivers/acpi/apei/hest.c +1 -1
@@ -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) {
xen/include/xen/livepatch.h +1 -1
@@ -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 ;
xen/include/xen/serial.h +1 -1
@@ -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 );
Signature · 1 line
2.30.2
Quoted 4 lines · Andrew Cooper
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 <[email protected]>
Reviewed-by Jan Beulich <[email protected]>