diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-24 19:55:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-30 18:07:28 +0200 |
commit | f1aaa8a3a5fe783dcb9008fa722bac755751a719 (patch) | |
tree | 135bbdf36401524058bdb2e397a24378c954ab9d /src/peer.c | |
parent | 672b76a098b99102a46712b1d982f550f97806f2 (diff) |
style: spaces after for loops
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -112,7 +112,7 @@ void peer_remove_all(struct wireguard_device *wg) { struct wireguard_peer *peer, *temp; lockdep_assert_held(&wg->device_update_lock); - list_for_each_entry_safe(peer, temp, &wg->peer_list, peer_list) + list_for_each_entry_safe (peer, temp, &wg->peer_list, peer_list) peer_remove(peer); } @@ -121,7 +121,7 @@ unsigned int peer_total_count(struct wireguard_device *wg) unsigned int i = 0; struct wireguard_peer *peer; lockdep_assert_held(&wg->device_update_lock); - list_for_each_entry(peer, &wg->peer_list, peer_list) + list_for_each_entry (peer, &wg->peer_list, peer_list) ++i; return i; } |