Kill two unnecessary return statements.
authorAndre Noll <maan@systemlinux.org>
Sun, 20 Jan 2008 13:45:33 +0000 (14:45 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 20 Jan 2008 13:45:33 +0000 (14:45 +0100)
osl.c
osl_core.h

diff --git a/osl.c b/osl.c
index b99f382..2519228 100644 (file)
--- 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)
index b0035da..e187178 100644 (file)
@@ -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);
 }
 
 /**