drm/nouveau/bios/init: drop unneeded semicolon

When a function-like macro expands to an expression, that expression
doesn't need a semicolon after it.  All uses have been verified to
have their own semicolons.

This was found using the following Coccinelle semantic patch:

@r@
identifier i : script:ocaml() { String.lowercase_ascii i = i };
expression e;
@@

*#define i(...) e;

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260801191002.1383835-8-Julia.Lawall@inria.fr
This commit is contained in:
Julia Lawall 2026-08-01 21:09:54 +02:00 committed by Lyude Paul
parent b1da2a6cc1
commit 0b02d324f7

View File

@ -403,7 +403,7 @@ init_table_(struct nvbios_init *init, u16 offset, const char *name)
#define init_io_condition_table(b) init_table_((b), 0x08, "io condition table")
#define init_io_flag_condition_table(b) init_table_((b), 0x0a, "io flag condition table")
#define init_function_table(b) init_table_((b), 0x0c, "function table")
#define init_xlat_table(b) init_table_((b), 0x10, "xlat table");
#define init_xlat_table(b) init_table_((b), 0x10, "xlat table")
static u16
init_script(struct nvkm_bios *bios, int index)