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:
Zbigniew Jędrzejewski-Szmek
2020-04-13 09:31:49 +02:00
committed by Lennart Poettering
parent 8cf85bb575
commit 38cd55b007
11 changed files with 14 additions and 28 deletions
+1 -2
View File
@@ -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)