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/device.c | |
parent | 4faa530cf633f9354c7368e6c1888c14c6516da0 (diff) | |
download | systemd-f6e9aa9e4554004d501dac9fd4df220db7080dec.tar.gz |
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/device.c')
-rw-r--r-- | src/core/device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/device.c b/src/core/device.c index 8e00fd3df6..a24fea04d0 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -1081,8 +1081,6 @@ const UnitVTable device_vtable = { .active_state = device_active_state, .sub_state_to_string = device_sub_state_to_string, - .bus_vtable = bus_device_vtable, - .following = device_following, .following_set = device_following_set, |