diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-18 17:53:23 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-09-20 10:04:34 +0300 |
commit | ecffadf602f34cc1cf4c3ae81502564673d410e8 (patch) | |
tree | 4d71b95da5fcd0f4b6a122cd4457e76b8cdbc970 /util | |
parent | 3a7156600ef79beb383ee2f7a241e0edebe5d5a7 (diff) |
util/cutils: Remove unused qemu_get_exec_dir
qemu_get_exec_dir has been unused since commit:
5bebe03f51 ("util/cutils: Clean up global variable shadowing in get_relocated_path()")
Remove it, and fix up a comment that pointed to it.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util')
-rw-r--r-- | util/cutils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/util/cutils.c b/util/cutils.c index 42364039a5..9803f11a59 100644 --- a/util/cutils.c +++ b/util/cutils.c @@ -1144,11 +1144,6 @@ void qemu_init_exec_dir(const char *argv0) #endif } -const char *qemu_get_exec_dir(void) -{ - return exec_dir; -} - char *get_relocated_path(const char *dir) { size_t prefix_len = strlen(CONFIG_PREFIX); |