summaryrefslogtreecommitdiffstats
path: root/include/sysemu/tpm_backend.h
diff options
context:
space:
mode:
authorMarc-André Lureau2017-11-06 19:39:05 +0100
committerStefan Berger2017-12-15 05:39:14 +0100
commit3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3 (patch)
tree221fae0a7d83084fd2f8bd86e8617e6de1884aac /include/sysemu/tpm_backend.h
parenttpm-be: ask model to the TPM interface (diff)
downloadqemu-3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3.tar.gz
qemu-3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3.tar.xz
qemu-3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3.zip
tpm: remove unused opened code
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'include/sysemu/tpm_backend.h')
-rw-r--r--include/sysemu/tpm_backend.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/sysemu/tpm_backend.h b/include/sysemu/tpm_backend.h
index 665e807a73..904e5b1026 100644
--- a/include/sysemu/tpm_backend.h
+++ b/include/sysemu/tpm_backend.h
@@ -80,8 +80,6 @@ struct TPMBackendClass {
TpmTypeOptions *(*get_tpm_options)(TPMBackend *t);
- void (*opened)(TPMBackend *s, Error **errp);
-
void (*handle_request)(TPMBackend *s, TPMBackendCmd *cmd);
};
@@ -172,16 +170,6 @@ bool tpm_backend_get_tpm_established_flag(TPMBackend *s);
int tpm_backend_reset_tpm_established_flag(TPMBackend *s, uint8_t locty);
/**
- * tpm_backend_open:
- * @s: the backend to open
- * @errp: a pointer to return the #Error object if an error occurs.
- *
- * This function will open the backend if it is not already open. Calling this
- * function on an already opened backend will not result in an error.
- */
-void tpm_backend_open(TPMBackend *s, Error **errp);
-
-/**
* tpm_backend_get_tpm_version:
* @s: the backend to call into
*