diff options
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hash.c b/net/batman-adv/hash.c index 0759c707e974..15a849c2d414 100644 --- a/net/batman-adv/hash.c +++ b/net/batman-adv/hash.c | |||
@@ -25,7 +25,7 @@ static void batadv_hash_init(struct batadv_hashtable *hash) | |||
25 | { | 25 | { |
26 | uint32_t i; | 26 | uint32_t i; |
27 | 27 | ||
28 | for (i = 0 ; i < hash->size; i++) { | 28 | for (i = 0; i < hash->size; i++) { |
29 | INIT_HLIST_HEAD(&hash->table[i]); | 29 | INIT_HLIST_HEAD(&hash->table[i]); |
30 | spin_lock_init(&hash->list_locks[i]); | 30 | spin_lock_init(&hash->list_locks[i]); |
31 | } | 31 | } |