From c0a7a2331aba8e8ae82dedd7960390c62857906e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 20 Jan 2008 14:45:33 +0100 Subject: [PATCH] Kill two unnecessary return statements. --- osl.c | 2 +- osl_core.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osl.c b/osl.c index b99f3826..25192288 100644 --- a/osl.c +++ b/osl.c @@ -305,7 +305,7 @@ static int disk_storage_name_of_row(const struct osl_table *t, static void column_name_hash(const char *col_name, HASH_TYPE *hash) { - return hash_function(col_name, strlen(col_name), hash); + hash_function(col_name, strlen(col_name), hash); } static int init_column_descriptions(struct osl_table *t) diff --git a/osl_core.h b/osl_core.h index b0035da0..e1871789 100644 --- a/osl_core.h +++ b/osl_core.h @@ -441,7 +441,7 @@ _static_inline_ struct osl_row *get_row_pointer(const struct rb_node *node, */ static inline void hash_object(const struct osl_object *obj, HASH_TYPE *hash) { - return hash_function(obj->data, obj->size, hash); + hash_function(obj->data, obj->size, hash); } /** -- 2.39.5