diff options
author | Marc-André Lureau | 2017-10-10 00:55:52 +0200 |
---|---|---|
committer | Stefan Berger | 2017-10-19 17:42:25 +0200 |
commit | 905e78ba25c613a9daa7adb4e8fb3aec0fa4a2c9 (patch) | |
tree | 6f4865ee0ae0f951c461269c4c4388e2e01ee449 /include/sysemu/tpm_backend.h | |
parent | tpm: remove configure_tpm() hop (diff) | |
download | qemu-905e78ba25c613a9daa7adb4e8fb3aec0fa4a2c9.tar.gz qemu-905e78ba25c613a9daa7adb4e8fb3aec0fa4a2c9.tar.xz qemu-905e78ba25c613a9daa7adb4e8fb3aec0fa4a2c9.zip |
tpm: remove unused TPMBackendCmd
There is only handling of request so far in both backends.
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.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/sysemu/tpm_backend.h b/include/sysemu/tpm_backend.h index b08f985500..7d7ebfc21d 100644 --- a/include/sysemu/tpm_backend.h +++ b/include/sysemu/tpm_backend.h @@ -32,13 +32,6 @@ typedef struct TPMBackend TPMBackend; typedef void (TPMRecvDataCB)(TPMState *, uint8_t locty, bool selftest_done); -typedef enum TPMBackendCmd { - TPM_BACKEND_CMD_INIT = 1, - TPM_BACKEND_CMD_PROCESS_CMD, - TPM_BACKEND_CMD_END, - TPM_BACKEND_CMD_TPM_RESET, -} TPMBackendCmd; - struct TPMBackend { Object parent; @@ -83,7 +76,7 @@ struct TPMBackendClass { void (*opened)(TPMBackend *s, Error **errp); - void (*handle_request)(TPMBackend *s, TPMBackendCmd cmd); + void (*handle_request)(TPMBackend *s); }; /** |