diff options
author | Martin Wilck <Martin.Wilck@ts.fujitsu.com> | 2015-11-20 14:32:33 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-12-02 19:57:21 +0200 |
commit | f728643001397cee39dcfabff6458a5fbc3baecf (patch) | |
tree | 4c4f608b1fc03e0d7b789cfde0f3781fe7728735 /drivers/usb/core/driver.c | |
parent | ebd68df3f24b318d391d15c458d6f43f340ba36a (diff) | |
download | blackbird-op-linux-f728643001397cee39dcfabff6458a5fbc3baecf.tar.gz blackbird-op-linux-f728643001397cee39dcfabff6458a5fbc3baecf.zip |
tpm_tis: further simplify calculation of ordinal duration
commit 07b133e6060b ("char/tpm: simplify duration calculation and
eliminate smatch warning.") includes a misleading test that is always
false. The tpm_ordinal_duration table is only valid for TPM_PROTECTED
ordinals where the higher 16 bits are all 0, anyway.
Signed-off-by: Martin Wilck <Martin.Wilck@ts.fujitsu.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/usb/core/driver.c')
0 files changed, 0 insertions, 0 deletions