From 890a48045eecd218c0093613304b61b30386cc45 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 9 Sep 2022 10:38:53 +0100 Subject: [PATCH] trivial: Remove a duplicate line The conditional expressions of the 'if' statements situated alongside each other are identical. --- libfwupdplugin/fu-efi-common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libfwupdplugin/fu-efi-common.c b/libfwupdplugin/fu-efi-common.c index df8b79b16..b9397f677 100644 --- a/libfwupdplugin/fu-efi-common.c +++ b/libfwupdplugin/fu-efi-common.c @@ -49,8 +49,6 @@ fu_efi_guid_to_name(const gchar *guid) return "Section:LzmaCompress"; if (g_strcmp0(guid, FU_EFI_FIRMWARE_SECTION_TIANO_COMPRESS) == 0) return "Section:TianoCompress"; - if (g_strcmp0(guid, FU_EFI_FIRMWARE_SECTION_TIANO_COMPRESS) == 0) - return "Section:TianoCompress"; if (g_strcmp0(guid, FU_EFI_FIRMWARE_SECTION_SMBIOS_TABLE) == 0) return "Section:SmbiosTable"; if (g_strcmp0(guid, FU_EFI_FIRMWARE_SECTION_ESRT_TABLE) == 0)