diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-02-18 07:28:09 -0500 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 06:52:00 -0500 |
commit | 7aadf889e897155c45cda230d2a6701ad1fbff61 (patch) | |
tree | 4a31df411c29844afe25ccde17d2ff9e618241c1 /net/batman-adv/hash.c | |
parent | 39901e716275da4e831b40f9e45a1b61d6a776dc (diff) |
batman-adv: remove extra layer between hash and hash element - hash bucket
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/hash.c')
-rw-r--r-- | net/batman-adv/hash.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/batman-adv/hash.c b/net/batman-adv/hash.c index 02653666a26b..c5213d8f2cca 100644 --- a/net/batman-adv/hash.c +++ b/net/batman-adv/hash.c | |||
@@ -68,11 +68,3 @@ free_hash: | |||
68 | kfree(hash); | 68 | kfree(hash); |
69 | return NULL; | 69 | return NULL; |
70 | } | 70 | } |
71 | |||
72 | void bucket_free_rcu(struct rcu_head *rcu) | ||
73 | { | ||
74 | struct element_t *bucket; | ||
75 | |||
76 | bucket = container_of(rcu, struct element_t, rcu); | ||
77 | kfree(bucket); | ||
78 | } | ||