]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: drop unnecessary size specifier
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 7 Nov 2024 03:00:38 +0000 (12:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Nov 2024 02:53:24 +0000 (11:53 +0900)
It does not save any memory usage but increase code complexity.

src/network/networkd-link.h

index ad8bac7ad6100e8dbea2b4eab0b248b731d30b83..848e67c843e39d4f73e34849cc5b711d5245ea0b 100644 (file)
@@ -179,7 +179,7 @@ typedef struct Link {
         Set *ndisc_dnr;
         uint32_t ndisc_mtu;
         unsigned ndisc_messages;
-        bool ndisc_configured:1;
+        bool ndisc_configured;
 
         sd_radv *radv;