From patchwork Sat Jan 29 21:47:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 817 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 736E4154649 for ; Sat, 29 Jan 2011 22:48:16 +0100 (CET) Received: from sven-desktop.home.narfation.org (unknown [88.130.181.181]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 4A16494066; Sat, 29 Jan 2011 22:48:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1296337729; bh=M4jXek3PY8eIMIpdCoxfyKEG7+6VnP7TnvRjnc1AFvM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=qwKdkeDZDmUZ2+9BkN9UBGBh12QTgHoVq+Ki5BrjHxkKbAKQeXy80c7IlfhWjnG76 kyfa2fjvUFeMC/HeLW4IMyzriNBfZLMMiKvj+zTCJo8b/RbWX+1pJjSOC3NfGT0Efx KAKPMWmpA8ctTv4VAdwz+Y/y8g5XQbcAohLCFzcQ= From: Sven Eckelmann To: davem@davemloft.net Date: Sat, 29 Jan 2011 22:47:35 +0100 Message-Id: <1296337660-12376-9-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1296337660-12376-1-git-send-email-sven@narfation.org> References: <1296337660-12376-1-git-send-email-sven@narfation.org> Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org Subject: [B.A.T.M.A.N.] [PATCH 08/13] batman-adv: Remove dangling declaration of hash_remove_element X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2011 21:48:16 -0000 Signed-off-by: Sven Eckelmann --- net/batman-adv/hash.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/net/batman-adv/hash.h b/net/batman-adv/hash.h index 09216ad..2f508e6 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);