diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-25 16:54:09 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:25:23 +0100 |
commit | bd6692ea74658bc084ba8fa1979549beda104be7 (patch) | |
tree | b810a8685ded8ebf4419249172f6ebdd47b84352 /src/compat/siphash | |
parent | c02f8ba156cf4223504edf9c64febeca304831b4 (diff) |
peer: get rid of peer_for_each magic
Since the peer list is protected by the device_update_lock, and since
items are removed from the peer list before putting their final
reference, we don't actually need to take a reference when iterating.
This allows us to simplify the macro considerably.
Suggested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/siphash')
0 files changed, 0 insertions, 0 deletions