diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-07-10 17:04:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-10 17:16:50 +0200 |
commit | bcbe497e5a73d889e8799f8a3680c303afede347 (patch) | |
tree | 08b344c67fc71d7c28d55b3de85e2c8b39bc2b76 | |
parent | 5f73969991fa765f2826975c0fc5e47438b5e9ea (diff) |
unit: get rid of UnitVTable.suffix, which is now unused
-rw-r--r-- | src/core/automount.c | 1 | ||||
-rw-r--r-- | src/core/device.c | 1 | ||||
-rw-r--r-- | src/core/mount.c | 1 | ||||
-rw-r--r-- | src/core/path.c | 1 | ||||
-rw-r--r-- | src/core/service.c | 1 | ||||
-rw-r--r-- | src/core/snapshot.c | 1 | ||||
-rw-r--r-- | src/core/socket.c | 1 | ||||
-rw-r--r-- | src/core/swap.c | 1 | ||||
-rw-r--r-- | src/core/target.c | 1 | ||||
-rw-r--r-- | src/core/timer.c | 1 | ||||
-rw-r--r-- | src/core/unit.h | 2 |
11 files changed, 0 insertions, 12 deletions
diff --git a/src/core/automount.c b/src/core/automount.c index 697dfa1548..91162c2a58 100644 --- a/src/core/automount.c +++ b/src/core/automount.c @@ -846,7 +846,6 @@ static const char* const automount_result_table[_AUTOMOUNT_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(automount_result, AutomountResult); const UnitVTable automount_vtable = { - .suffix = ".automount", .object_size = sizeof(Automount), .sections = "Unit\0" diff --git a/src/core/device.c b/src/core/device.c index f4c59b3a51..5307341d70 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -587,7 +587,6 @@ static const char* const device_state_table[_DEVICE_STATE_MAX] = { DEFINE_STRING_TABLE_LOOKUP(device_state, DeviceState); const UnitVTable device_vtable = { - .suffix = ".device", .object_size = sizeof(Device), .sections = "Unit\0" diff --git a/src/core/mount.c b/src/core/mount.c index 3d513a051e..69cb6e24e4 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -1785,7 +1785,6 @@ static const char* const mount_result_table[_MOUNT_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(mount_result, MountResult); const UnitVTable mount_vtable = { - .suffix = ".mount", .object_size = sizeof(Mount), .sections = "Unit\0" diff --git a/src/core/path.c b/src/core/path.c index 6cf03add44..42dd5da8e1 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -738,7 +738,6 @@ static const char* const path_result_table[_PATH_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(path_result, PathResult); const UnitVTable path_vtable = { - .suffix = ".path", .object_size = sizeof(Path), .sections = "Unit\0" diff --git a/src/core/service.c b/src/core/service.c index 0c29d4aefa..e57b0e970c 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -3798,7 +3798,6 @@ static const char* const start_limit_action_table[_SERVICE_START_LIMIT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(start_limit_action, StartLimitAction); const UnitVTable service_vtable = { - .suffix = ".service", .object_size = sizeof(Service), .sections = "Unit\0" diff --git a/src/core/snapshot.c b/src/core/snapshot.c index 5bb3c4a8fd..5c2a319cb6 100644 --- a/src/core/snapshot.c +++ b/src/core/snapshot.c @@ -281,7 +281,6 @@ static const char* const snapshot_state_table[_SNAPSHOT_STATE_MAX] = { DEFINE_STRING_TABLE_LOOKUP(snapshot_state, SnapshotState); const UnitVTable snapshot_vtable = { - .suffix = ".snapshot", .object_size = sizeof(Snapshot), .no_alias = true, diff --git a/src/core/socket.c b/src/core/socket.c index ea24f4b443..3613e8420e 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -2185,7 +2185,6 @@ static const char* const socket_result_table[_SOCKET_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(socket_result, SocketResult); const UnitVTable socket_vtable = { - .suffix = ".socket", .object_size = sizeof(Socket), .sections = "Unit\0" diff --git a/src/core/swap.c b/src/core/swap.c index f3c7fa3076..aeb8bdab36 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -1335,7 +1335,6 @@ static const char* const swap_result_table[_SWAP_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(swap_result, SwapResult); const UnitVTable swap_vtable = { - .suffix = ".swap", .object_size = sizeof(Swap), .sections = "Unit\0" diff --git a/src/core/target.c b/src/core/target.c index a912f44ff2..092b2065f2 100644 --- a/src/core/target.c +++ b/src/core/target.c @@ -198,7 +198,6 @@ static const char* const target_state_table[_TARGET_STATE_MAX] = { DEFINE_STRING_TABLE_LOOKUP(target_state, TargetState); const UnitVTable target_vtable = { - .suffix = ".target", .object_size = sizeof(Target), .sections = "Unit\0" diff --git a/src/core/timer.c b/src/core/timer.c index 6bd4cc359c..0b3c5ce077 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -486,7 +486,6 @@ static const char* const timer_result_table[_TIMER_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(timer_result, TimerResult); const UnitVTable timer_vtable = { - .suffix = ".timer", .object_size = sizeof(Timer), .sections = "Unit\0" diff --git a/src/core/unit.h b/src/core/unit.h index c20c532c16..b0aa02f6ae 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -274,8 +274,6 @@ struct UnitStatusMessageFormats { #include "path.h" struct UnitVTable { - const char *suffix; - /* How much memory does an object of this unit type need */ size_t object_size; |