diff --git a/plugins/uefi/fu-plugin-uefi.c b/plugins/uefi/fu-plugin-uefi.c index 88924a2e5..6093770c1 100644 --- a/plugins/uefi/fu-plugin-uefi.c +++ b/plugins/uefi/fu-plugin-uefi.c @@ -98,18 +98,6 @@ fu_plugin_clear_results (FuPlugin *plugin, FuDevice *device, GError **error) return TRUE; } -/* only in git master */ -#ifndef FWUP_LAST_ATTEMPT_STATUS_SUCCESS -#define FWUP_LAST_ATTEMPT_STATUS_SUCCESS 0x00000000 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL 0x00000001 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_INSUFFICIENT_RESOURCES 0x00000002 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_INCORRECT_VERSION 0x00000003 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_INVALID_FORMAT 0x00000004 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_AUTH_ERROR 0x00000005 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_AC 0x00000006 -#define FWUP_LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_BATT 0x00000007 -#endif - static const gchar * fu_plugin_uefi_last_attempt_status_to_str (guint32 status) {