diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-11-06 19:39:05 +0100 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-12-14 23:39:14 -0500 |
commit | 3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3 (patch) | |
tree | 221fae0a7d83084fd2f8bd86e8617e6de1884aac /tpm.c | |
parent | 191adc9476371ad94771609d8b9a968d9332a962 (diff) | |
download | qemu-3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3.zip qemu-3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3.tar.gz qemu-3c3ef630621e4cdc5171dcfd19a22b2dc300bcb3.tar.bz2 |
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 'tpm.c')
-rw-r--r-- | tpm.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -132,12 +132,6 @@ static int tpm_init_tpmdev(void *dummy, QemuOpts *opts, Error **errp) return 1; } - tpm_backend_open(drv, &local_err); - if (local_err) { - error_report_err(local_err); - return 1; - } - QLIST_INSERT_HEAD(&tpm_backends, drv, list); return 0; |