The following commit has been merged in the master branch: commit f2867c467fa5490f41e431d5381ff376cea0d2b8 Author: Sven Eckelmann sven@narfation.org Date: Sun Jun 17 16:27:22 2012 +0200
batman-adv: Remove space before semicolon
Signed-off-by: Sven Eckelmann sven@narfation.org
diff --git a/bridge_loop_avoidance.c b/bridge_loop_avoidance.c index 38aab1e..49e10d9 100644 --- a/bridge_loop_avoidance.c +++ b/bridge_loop_avoidance.c @@ -1222,7 +1222,7 @@ int batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv, /* calculate the crc ... */ crc = crc16(0, content, length);
- for (i = 0 ; i < BATADV_DUPLIST_SIZE; i++) { + for (i = 0; i < BATADV_DUPLIST_SIZE; i++) { curr = (bat_priv->bcast_duplist_curr + i) % BATADV_DUPLIST_SIZE; entry = &bat_priv->bcast_duplist[curr];
diff --git a/hash.c b/hash.c index 2b16381..15a849c 100644 --- a/hash.c +++ b/hash.c @@ -25,7 +25,7 @@ static void batadv_hash_init(struct batadv_hashtable *hash) { uint32_t i;
- for (i = 0 ; i < hash->size; i++) { + for (i = 0; i < hash->size; i++) { INIT_HLIST_HEAD(&hash->table[i]); spin_lock_init(&hash->list_locks[i]); } @@ -73,6 +73,6 @@ void batadv_hash_set_lock_class(struct batadv_hashtable *hash, { uint32_t i;
- for (i = 0 ; i < hash->size; i++) + for (i = 0; i < hash->size; i++) lockdep_set_class(&hash->list_locks[i], key); }