From: Sven Eckelmann Date: Thu, 27 Jan 2011 12:10:23 +0000 (+0100) Subject: batman-adv: Remove dangling declaration of hash_remove_element X-Git-Tag: MMI-PSA29.97-13-9~20520^2~151^2~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=633979b43f23d776f6fb757f0f3d6d8089ab57b1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git batman-adv: Remove dangling declaration of hash_remove_element Signed-off-by: Sven Eckelmann --- diff --git a/net/batman-adv/hash.h b/net/batman-adv/hash.h index 09216ade16f1..2f508e646cb4 100644 --- a/net/batman-adv/hash.h +++ b/net/batman-adv/hash.h @@ -49,11 +49,6 @@ struct hashtable_t { /* allocates and clears the hash */ struct hashtable_t *hash_new(int size); -/* remove element if you already found the element you want to delete and don't - * need the overhead to find it again with hash_remove(). But usually, you - * don't want to use this function, as it fiddles with hash-internals. */ -void *hash_remove_element(struct hashtable_t *hash, struct element_t *elem); - /* free only the hashtable and the hash itself. */ void hash_destroy(struct hashtable_t *hash);