mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
76ae76bfea
commit
905e78ba25
4 changed files with 26 additions and 55 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue