Re: [Qemu-devel] [PATCH 13/42] tpm: remove locty argument from receive_cb

2017-10-10 Thread Stefan Berger
On 10/09/2017 06:55 PM, Marc-André Lureau wrote: The tpm_state is passed as argument, the assert() is pointless since we give it the value of tpm_state->locty_number already. Signed-off-by: Marc-André Lureau Reviewed-by: Stefan Berger --- include/sysemu/tpm_backend.h | 2 +- hw/tpm/tpm_

[Qemu-devel] [PATCH 13/42] tpm: remove locty argument from receive_cb

2017-10-09 Thread Marc-André Lureau
The tpm_state is passed as argument, the assert() is pointless since we give it the value of tpm_state->locty_number already. Signed-off-by: Marc-André Lureau --- include/sysemu/tpm_backend.h | 2 +- hw/tpm/tpm_emulator.c| 3 +-- hw/tpm/tpm_passthrough.c | 4 +--- hw/tpm/tpm_tis.c