mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: remove unused function
No need for the "peek" variant, so just remove it.
This commit is contained in:
@ -31,8 +31,6 @@ SysprofStrings *sysprof_strings_ref (SysprofStrings *self);
|
||||
void sysprof_strings_unref (SysprofStrings *self);
|
||||
GRefString *sysprof_strings_get (SysprofStrings *self,
|
||||
const char *string);
|
||||
GRefString *sysprof_strings_lookup (SysprofStrings *self,
|
||||
const char *string);
|
||||
|
||||
#define SYSPROF_STRV_INIT(...) ((const char * const[]){__VA_ARGS__,NULL})
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user