diff options
author | Julia Lawall <[email protected]> | 2016-05-06 22:39:30 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-05-07 07:06:13 +0200 |
commit | 1cfd63166c8e7494a1b457df9bb291a601091c26 (patch) | |
tree | 8ec3ebf76cd744f4f547d72e3aa1842d59ccf8cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fb7a84cac03541f4da18dfa25b3f4767d4efc6fc (diff) |
efi: Merge boolean flag arguments
The parameters atomic and duplicates of efivar_init always have opposite
values. Drop the parameter atomic, replace the uses of !atomic with
duplicates, and update the call sites accordingly.
The code using duplicates is slightly reorganized with an 'else', to avoid
duplicating the lock code.
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jeremy Kerr <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Saurabh Sengar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vaishali Thakkar <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions