diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-22 08:26:46 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-22 08:26:46 -0500 |
commit | 0744fef6a3b1bf870de363942c1329b451b738f4 (patch) | |
tree | 777e239aa1fa5f9f3546df054f978282ea4e29f3 | |
parent | dca7a8958f8d0dbd53072caa4353353e062d80ca (diff) | |
parent | 9086e8f04d268a989193470de7cc14e4a577e6f5 (diff) |
Merge tag 'tpm-next-22112023' of https://source.denx.de/u-boot/custodians/u-boot-tpm into next
tpm_tis_send-cleanup
-rw-r--r-- | drivers/tpm/tpm2_tis_core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tpm/tpm2_tis_core.c b/drivers/tpm/tpm2_tis_core.c index 985a8162198..81b9210056d 100644 --- a/drivers/tpm/tpm2_tis_core.c +++ b/drivers/tpm/tpm2_tis_core.c @@ -224,9 +224,6 @@ int tpm_tis_send(struct udevice *dev, const u8 *buf, size_t len) u8 status; int ret; - if (!chip) - return -ENODEV; - ret = tpm_tis_request_locality(dev, 0); if (ret < 0) return -EBUSY; |