Markus Armbruster d10e05f15d tpm: Clean up error reporting in tpm_init_tpmdev()
Calling error_report() in a function that takes an Error ** argument
is suspicious.  tpm_init_tpmdev() does that, and then fails without
setting an error.  Its caller main(), via tpm_init() and
qemu_opts_foreach(), is fine with it, but clean it up anyway.

Cc: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-Id: <20181017082702.5581-30-armbru@redhat.com>
2018-10-19 14:51:34 +02:00
..
2016-03-15 18:23:45 +01:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-03-22 22:20:16 +01:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2018-10-15 10:52:09 -06:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2018-02-08 09:22:03 +08:00
2018-10-15 10:52:09 -06:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2018-03-02 13:45:50 -06:00
2016-02-04 17:01:04 +00:00
2018-03-02 13:45:50 -06:00
2017-04-25 11:04:34 -07:00
2018-03-02 13:45:50 -06:00