]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/kmod-setup: drop another pointless bitfield annotation
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Feb 2024 11:02:55 +0000 (12:02 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Feb 2024 09:40:59 +0000 (10:40 +0100)
commit0a35e7f6be4c1b21221f51f696c1952cc3379977
treede1cc2a8b8a0e958e32cc1611b28582e60b6ff8a
parent92d1419eb85ef630770ef22dbdf3521418ead134
core/kmod-setup: drop another pointless bitfield annotation

We have two bools followed by a func pointer, which is aligned to e.g. 8 bytes,
so whether the two bools take one bit, one byte, or even a full word, makes no
difference in storage size. But the code generated to service a bitfield is
more complicated.

Also switch to FOREACH_ARRAY().
src/core/kmod-setup.c