diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-10-10 00:55:47 +0200 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-10-19 11:42:22 -0400 |
commit | ed836d9d6bf0c89bf2e43e300fd2254237a39ef3 (patch) | |
tree | ebb27cf90d0f8251622ce86abd4b412bebc542f8 /hw | |
parent | d91a7a575e9f4e65447c6c3c094932cd13ba1167 (diff) | |
download | qemu-ed836d9d6bf0c89bf2e43e300fd2254237a39ef3.zip qemu-ed836d9d6bf0c89bf2e43e300fd2254237a39ef3.tar.gz qemu-ed836d9d6bf0c89bf2e43e300fd2254237a39ef3.tar.bz2 |
tpm: remove tpm_register_driver()
No more users of be_drivers[], drop that too.
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 'hw')
-rw-r--r-- | hw/tpm/tpm_emulator.c | 1 | ||||
-rw-r--r-- | hw/tpm/tpm_passthrough.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/tpm/tpm_emulator.c b/hw/tpm/tpm_emulator.c index 95e1e04..187a69e 100644 --- a/hw/tpm/tpm_emulator.c +++ b/hw/tpm/tpm_emulator.c @@ -581,7 +581,6 @@ static const TypeInfo tpm_emulator_info = { static void tpm_emulator_register(void) { type_register_static(&tpm_emulator_info); - tpm_register_driver(&tpm_emulator_driver); } type_init(tpm_emulator_register) diff --git a/hw/tpm/tpm_passthrough.c b/hw/tpm/tpm_passthrough.c index e6ace28..f04eab3 100644 --- a/hw/tpm/tpm_passthrough.c +++ b/hw/tpm/tpm_passthrough.c @@ -418,7 +418,6 @@ static const TypeInfo tpm_passthrough_info = { static void tpm_passthrough_register(void) { type_register_static(&tpm_passthrough_info); - tpm_register_driver(&tpm_passthrough_driver); } type_init(tpm_passthrough_register) |