Commit 3fdde7e0 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Stefan Berger
Browse files

tpm: remove unnecessary #ifdef CONFIG_TPM



Makefile.objs now checks for $(CONFIG_TPM).

Suggested-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
Signed-off-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
parent c39f95dc
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -30,8 +30,6 @@ void tpm_register_model(enum TpmModel model)
    tpm_models[model] = true;
}

#ifdef CONFIG_TPM

static const TPMBackendClass *
tpm_be_find_by_type(enum TpmType type)
{
@@ -192,8 +190,6 @@ int tpm_config_parse(QemuOptsList *opts_list, const char *optarg)
    return 0;
}

#endif /* CONFIG_TPM */

/*
 * Walk the list of active TPM backends and collect information about them
 * following the schema description in qapi-schema.json.