trivial: Remove some defines added in 0.3

For reference, we depend on at least 0.5...
This commit is contained in:
Richard Hughes 2017-09-06 16:07:40 +01:00
parent 4022700bc8
commit 5075fa9c5b

View File

@ -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)
{