tpm: remove invalid min length check from tpm_do_selftest()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 4 Oct 2016 06:49:47 +0000 (09:49 +0300)
committerJames Morris <james.l.morris@oracle.com>
Mon, 31 Oct 2016 15:15:27 +0000 (09:15 -0600)
commitbefd99656c5eb765fe9d96045c4cba099fd938db
treeccebd35f7bb538a834491d7ceb8f2fd713e89499
parent2a26d99b251b8625d27aed14e97fc10707a3a81f
tpm: remove invalid min length check from tpm_do_selftest()

Removal of this check was not properly amended to the original commit.

Cc: stable@vger.kernel.org
Fixes: 0c541332231e ("tpm: use tpm_pcr_read_dev() in tpm_do_selftest()")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm-interface.c