]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 b99f3826d7716d4ee02fc2eeae5b4692a6606924..2519228890bc2c25f1b82da6887585afe42840ae 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 b0035da0f8884bc2f7a201d8531f2262994ed632..e18717895a5f3023bdee8452757f9f4a2643cef9 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);
 }
 
 /**