projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3bab7
)
network: drop unnecessary size specifier
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 7 Nov 2024 03:00:38 +0000
(12:00 +0900)
committer
Yu 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
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.h
b/src/network/networkd-link.h
index ad8bac7ad6100e8dbea2b4eab0b248b731d30b83..848e67c843e39d4f73e34849cc5b711d5245ea0b 100644
(file)
--- a/
src/network/networkd-link.h
+++ b/
src/network/networkd-link.h
@@
-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;