diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-16 23:24:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-16 23:24:39 +0200 |
commit | 8d567588cad053f79abe603ab113e1b85a92f1da (patch) | |
tree | d29f8cbd6233fac569b84774d7a72a5fd8049b29 /target.c | |
parent | 2076ca540e4ffdd320e086c8b570a5bf19546022 (diff) |
automount: implement automount unit type
Diffstat (limited to 'target.c')
-rw-r--r-- | target.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -37,15 +37,6 @@ static const char* const state_string_table[_TARGET_STATE_MAX] = { [TARGET_ACTIVE] = "active" }; -static void target_init(Unit *u) { - Target *t = TARGET(u); - - assert(t); - assert(u->meta.load_state == UNIT_STUB); - - t->state = 0; -} - static void target_dump(Unit *u, FILE *f, const char *prefix) { Target *t = TARGET(u); @@ -134,7 +125,6 @@ int target_get_runlevel(Target *t) { const UnitVTable target_vtable = { .suffix = ".target", - .init = target_init, .load = unit_load_fragment_and_dropin, .dump = target_dump, |