diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-11-04 20:02:38 -0500 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-02-13 02:48:46 -0500 |
commit | 47a6c28b6861b14a69e36ba974d2ffa1746e8e6f (patch) | |
tree | 360d56bf556dd92e0042220cfc80bf4e456f7eba /drivers/char/tpm/tpm-dev-common.c | |
parent | a3fbfae82b4cb3ff9928e29f34c64d0507cad874 (diff) |
tpm: remove @flags from tpm_transmit()
Remove @flags from tpm_transmit() API. It is no longer used for
anything.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Diffstat (limited to 'drivers/char/tpm/tpm-dev-common.c')
-rw-r--r-- | drivers/char/tpm/tpm-dev-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm-dev-common.c b/drivers/char/tpm/tpm-dev-common.c index 435c09ec9056..8856cce5a23b 100644 --- a/drivers/char/tpm/tpm-dev-common.c +++ b/drivers/char/tpm/tpm-dev-common.c | |||
@@ -47,7 +47,7 @@ static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space, | |||
47 | if (ret) | 47 | if (ret) |
48 | goto out_rc; | 48 | goto out_rc; |
49 | 49 | ||
50 | len = tpm_transmit(chip, buf, bufsiz, 0); | 50 | len = tpm_transmit(chip, buf, bufsiz); |
51 | if (len < 0) | 51 | if (len < 0) |
52 | ret = len; | 52 | ret = len; |
53 | 53 | ||