aft.c: Clean up aft_hash_compare().
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 9 Apr 2015 13:57:45 +0000 (13:57 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 24 Oct 2015 08:38:53 +0000 (10:38 +0200)
This function is static and hence does not need doxygen comments. Also
break two overlong lines.

aft.c

diff --git a/aft.c b/aft.c
index 102856bafd6ecf319f50d696149dc800dd1fab5a..f2c1edab75c49125b6939c031e24ad28cf0e74cf 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -241,19 +241,12 @@ enum audio_file_table_columns {
        NUM_AFT_COLUMNS
 };
 
-/**
- * Compare two osl objects pointing to hash values.
- *
- * \param obj1 Pointer to the first hash object.
- * \param obj2 Pointer to the second hash object.
- *
- * \return The values required for an osl compare function.
- *
- * \sa osl_compare_func, uint32_compare().
- */
-static int aft_hash_compare(const struct osl_object *obj1, const struct osl_object *obj2)
+/* compare function for the hash column */
+static int aft_hash_compare(const struct osl_object *obj1,
+               const struct osl_object *obj2)
 {
-       return hash_compare((unsigned char *)obj1->data, (unsigned char *)obj2->data);
+       return hash_compare((unsigned char *)obj1->data,
+               (unsigned char *)obj2->data);
 }
 
 static struct osl_column_description aft_cols[] = {