libsysprof-analyze: remove unused function

No need for the "peek" variant, so just remove it.
This commit is contained in:
Christian Hergert
2023-06-20 13:39:09 -07:00
parent c86a4e2f03
commit 7595c611d7
2 changed files with 0 additions and 18 deletions

View File

@ -84,19 +84,3 @@ sysprof_strings_get (SysprofStrings *self,
return ret;
}
GRefString *
sysprof_strings_lookup (SysprofStrings *self,
const char *string)
{
GRefString *ret;
if (string == NULL)
return NULL;
g_mutex_lock (&self->mutex);
ret = g_hash_table_lookup (self->hashtable, string);
g_mutex_unlock (&self->mutex);
return ret;
}