diff options
author | Bart Van Assche <[email protected]> | 2018-12-06 17:11:35 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-12-11 14:54:54 +0100 |
commit | a66b6922dc6a5ece60ea9326153da3b062977a4d (patch) | |
tree | 8750550a582f2610224805b9613be5ed44093984 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 2904d9fa45d3ce7153f1e10d78c570ecf7f19c35 (diff) |
locking/lockdep: Remove a superfluous INIT_LIST_HEAD() statement
Initializing a list entry just before it is passed to list_add_tail_rcu()
is not necessary because list_add_tail_rcu() overwrites the next and prev
pointers anyway. Hence remove the INIT_LIST_HEAD() statement.
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions