From: Andre Noll Date: Sun, 20 Jan 2008 13:45:33 +0000 (+0100) Subject: Kill two unnecessary return statements. X-Git-Tag: v0.3.1~70 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=c0a7a2331aba8e8ae82dedd7960390c62857906e Kill two unnecessary return statements. --- 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); } /**