From 6fc2a2c87ba41ed207aa36e9818819cf28c70db1 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 9 Apr 2015 13:57:45 +0000 Subject: [PATCH] aft.c: Clean up aft_hash_compare(). This function is static and hence does not need doxygen comments. Also break two overlong lines. --- aft.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/aft.c b/aft.c index 102856ba..f2c1edab 100644 --- 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[] = { -- 2.39.5