diff options
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r-- | include/net/inet_hashtables.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index 469216d93663..37f6cb112127 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h | |||
@@ -186,9 +186,8 @@ static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) | |||
186 | if (size > PAGE_SIZE) | 186 | if (size > PAGE_SIZE) |
187 | vfree(hashinfo->ehash_locks); | 187 | vfree(hashinfo->ehash_locks); |
188 | else | 188 | else |
189 | #else | ||
190 | kfree(hashinfo->ehash_locks); | ||
191 | #endif | 189 | #endif |
190 | kfree(hashinfo->ehash_locks); | ||
192 | hashinfo->ehash_locks = NULL; | 191 | hashinfo->ehash_locks = NULL; |
193 | } | 192 | } |
194 | } | 193 | } |