diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-13 07:44:02 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 21412e2985ee882965d78612895ceab7afe8d499 (patch) | |
tree | 65521903e772da9f0a47fe73ae161bb67f13b4e3 /src/basic/virt.c | |
parent | de49e5fdca40c6e5652bd4996a4ba735fef58cb0 (diff) |
Prep v228: Full diff to master revealed more functions that are unused.
Diffstat (limited to 'src/basic/virt.c')
-rw-r--r-- | src/basic/virt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/virt.c b/src/basic/virt.c index 7c0666cc2..4b6286567 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -34,6 +34,7 @@ #include "util.h" #include "virt.h" +#if 0 /// UNNEEDED by elogind static int detect_vm_cpuid(void) { /* CPUID is an x86 specific interface. */ @@ -320,6 +321,7 @@ finish: cached_found = r; return r; } +#endif // 0 int detect_container(void) { @@ -431,6 +433,7 @@ int running_in_chroot(void) { return ret == 0; } +#if 0 /// UNNEEDED by elogind static const char *const virtualization_table[_VIRTUALIZATION_MAX] = { [VIRTUALIZATION_NONE] = "none", [VIRTUALIZATION_KVM] = "kvm", @@ -455,3 +458,4 @@ static const char *const virtualization_table[_VIRTUALIZATION_MAX] = { }; DEFINE_STRING_TABLE_LOOKUP(virtualization, int); +#endif // 0 |