diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2021-11-05 17:45:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-07 19:35:08 +0000 |
commit | 62b12ab5dff038ea43b69207b1f42ddc2f0a0b09 (patch) | |
tree | 7f29668f34a3182f7de910c77203a776aa953341 /drivers/nfc | |
parent | e1464db5c57ef393dde8126f09d2b04d166acf16 (diff) |
selftests: net: tls: remove unused variable and code
When building selftests/net with clang, the compiler warn about the
function abs() see below:
tls.c:657:15: warning: variable 'len_compared' set but not used [-Wunused-but-set-variable]
unsigned int len_compared = 0;
^
Rework to remove the unused variable and the for-loop where the variable
'len_compared' was assinged.
Fixes: 7f657d5bf507 ("selftests: tls: add selftests for TLS sockets")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions