Remove unneded {}s
$ perl -i -0pe 's|\s+{\n([^\n]*;)\n\s+}\n|\n\1\n|gms' **/*.c
Inspired by ea7cbf5bdd.
This commit is contained in:
committed by
Lennart Poettering
parent
8cf85bb575
commit
38cd55b007
@@ -302,9 +302,8 @@ EFI_STATUS tpm_log_event(UINT32 pcrindex, const EFI_PHYSICAL_ADDRESS buffer, UIN
|
||||
EFI_TCG2 *tpm2;
|
||||
|
||||
tpm2 = tcg2_interface_check();
|
||||
if (tpm2) {
|
||||
if (tpm2)
|
||||
return tpm2_measure_to_pcr_and_event_log(tpm2, pcrindex, buffer, buffer_size, description);
|
||||
}
|
||||
|
||||
tpm1 = tcg1_interface_check();
|
||||
if (tpm1)
|
||||
|
||||
Reference in New Issue
Block a user