diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-04-23 23:50:12 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-05 22:40:37 +0200 |
commit | f6e9aa9e4554004d501dac9fd4df220db7080dec (patch) | |
tree | a4c9b03c077cbcf7d4a5d764894a3215293b6d14 /src/core/swap.c | |
parent | machined: convert to the new scheme and add --bus-introspect (diff) | |
download | systemd-f6e9aa9e4554004d501dac9fd4df220db7080dec.tar.xz systemd-f6e9aa9e4554004d501dac9fd4df220db7080dec.zip |
pid1: convert to the new scheme
In all the other cases, I think the code was clearer with the static table.
Here, not so much. And because of the existing dump code, the vtables cannot
be made static and need to remain exported. I still think it's worth to do the
change to have the cmdline introspection, but I'm disappointed with how this
came out.
Diffstat (limited to 'src/core/swap.c')
-rw-r--r-- | src/core/swap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index c5945371df..0b42236aca 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -1655,7 +1655,6 @@ const UnitVTable swap_vtable = { .control_pid = swap_control_pid, - .bus_vtable = bus_swap_vtable, .bus_set_property = bus_swap_set_property, .bus_commit_properties = bus_swap_commit_properties, |