]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
jump_label: remove workaround for old compilers in initializations
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 13 Mar 2026 08:22:19 +0000 (09:22 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 16 Mar 2026 12:16:49 +0000 (13:16 +0100)
commitacb38872d4cbec5b6825345d9d757e21d2d9d953
treeb2c800415734689ebe8dc191f514a1174854ee3c
parent428c56525bf5dbc3bd5e30014df1f5213f8bd7c8
jump_label: remove workaround for old compilers in initializations

The extra braces for the initialization of the anonymous union members
were added in commit cd8d860dcce9 ("jump_label: Fix anonymous union
initialization") to compensate for limitations in gcc < 4.6.

Versions of gcc this old are not supported anymore,
so drop the workaround.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260313-jump_label-cleanup-v2-2-35d3c0bde549@linutronix.de
include/linux/jump_label.h