mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
tpm: don't use unneeded double brackets
clang is tempted to inteprete such a condition as a assignment as well. Since it isn't don't use double brackets. cc: Tom Wai-Hong Tam <waihong@chromium.org> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
6275331d41
commit
49f9337956
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ static ssize_t tpm_transmit(const unsigned char *buf, size_t bufsiz)
|
||||||
goto out_recv;
|
goto out_recv;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((status == chip->vendor.req_canceled)) {
|
if (status == chip->vendor.req_canceled) {
|
||||||
error("Operation Canceled\n");
|
error("Operation Canceled\n");
|
||||||
rc = -ECANCELED;
|
rc = -ECANCELED;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in a new issue