aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-10-10 00:55:52 +0200
committerStefan Berger <stefanb@linux.vnet.ibm.com>2017-10-19 11:42:25 -0400
commit905e78ba25c613a9daa7adb4e8fb3aec0fa4a2c9 (patch)
tree6f4865ee0ae0f951c461269c4c4388e2e01ee449 /include
parent76ae76bfea67ca972d1158dfdea07e27e4c0852e (diff)
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')
-rw-r--r--include/sysemu/tpm_backend.h9
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);
};
/**