mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 08:18:10 +00:00
trivial: remove some unused variables
This commit is contained in:
parent
aaa77c6f51
commit
1d44dce78a
@ -81,7 +81,6 @@ fu_uefi_backend_coldplug (FuBackend *backend, GError **error)
|
|||||||
g_autofree gchar *esrt_path = NULL;
|
g_autofree gchar *esrt_path = NULL;
|
||||||
g_autofree gchar *sysfsfwdir = NULL;
|
g_autofree gchar *sysfsfwdir = NULL;
|
||||||
g_autoptr(GDir) dir = NULL;
|
g_autoptr(GDir) dir = NULL;
|
||||||
g_autoptr(GError) error_local = NULL;
|
|
||||||
|
|
||||||
/* get the directory of ESRT entries */
|
/* get the directory of ESRT entries */
|
||||||
sysfsfwdir = fu_common_get_path (FU_PATH_KIND_SYSFSDIR_FW);
|
sysfsfwdir = fu_common_get_path (FU_PATH_KIND_SYSFSDIR_FW);
|
||||||
@ -172,7 +171,6 @@ static gboolean
|
|||||||
fu_uefi_backend_setup (FuBackend *backend, GError **error)
|
fu_uefi_backend_setup (FuBackend *backend, GError **error)
|
||||||
{
|
{
|
||||||
g_autoptr(GError) error_local = NULL;
|
g_autoptr(GError) error_local = NULL;
|
||||||
g_autoptr(GError) error_efivarfs = NULL;
|
|
||||||
|
|
||||||
/* using a pre-cooked SMBIOS */
|
/* using a pre-cooked SMBIOS */
|
||||||
if (g_getenv ("FWUPD_SYSFSFWDIR") != NULL)
|
if (g_getenv ("FWUPD_SYSFSFWDIR") != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user