]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: drop unnecessary bitfield specifier
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Apr 2021 10:53:40 +0000 (19:53 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 10 Apr 2021 12:23:38 +0000 (13:23 +0100)
Manager is allocated only once. It is not necessary to optimize its
size.

src/network/networkd-manager.h

index 929855daaf1bd2b1300fd0a9e6944d10981ae58a..7f630fccc7fbdad51544dd1d248f099dd345234f 100644 (file)
@@ -28,9 +28,9 @@ struct Manager {
         Hashmap *polkit_registry;
         int ethtool_fd;
 
-        bool enumerating:1;
-        bool dirty:1;
-        bool restarting:1;
+        bool enumerating;
+        bool dirty;
+        bool restarting;
         bool manage_foreign_routes;
 
         Set *dirty_links;