diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index a846708101..70c268faa2 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -45,9 +45,6 @@ #include "nm-setting-wired.h" #include "nm-setting-wireless.h" -/* Embed the commit id in the build binary */ -static const char *const __nm_git_sha = NM_STRLEN (NM_GIT_SHA) > 0 ? "NM_GIT_SHA:"NM_GIT_SHA : ""; - /** * SECTION:nm-utils * @short_description: Utility functions @@ -223,8 +220,6 @@ _nm_utils_init (void) GModule *self; gpointer func; - (void) __nm_git_sha; - if (initialized) return; initialized = TRUE; diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c index 084f0f548a..717260af2c 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -37,9 +37,6 @@ #include "nm-setting-private.h" #include "crypto.h" -/* Embed the commit id in the build binary */ -static const char *const __nm_git_sha = NM_STRLEN (NM_GIT_SHA) > 0 ? "NM_GIT_SHA:"NM_GIT_SHA : ""; - /** * SECTION:nm-utils * @short_description: Utility functions @@ -234,8 +231,6 @@ static gboolean initialized = FALSE; gboolean nm_utils_init (GError **error) { - (void) __nm_git_sha; - if (!initialized) { initialized = TRUE;