aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/include/sha2
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2022-09-26 20:02:38 -0400
committerGitHub <[email protected]>2022-09-26 17:02:38 -0700
commit8ef15f9322dd4314ae26abf4e1290844850ff155 (patch)
tree9a2eab84fee567cfc0886ed60863755fa3821258 /module/icp/include/sha2
parent52afc3443d164101eea7fbded0d21c079a0d6a0e (diff)
Cleanup: Remove ineffective unsigned comparisons against 0
Coverity found a number of places where we either do MAX(unsigned, 0) or do assertions that a unsigned variable is >= 0. These do nothing, so let us drop them all. It also found a spot where we do `if (unsigned >= 0 && ...)`. Let us also drop the unsigned >= 0 check. Reviewed-by: Neal Gompa <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #13871
Diffstat (limited to 'module/icp/include/sha2')
0 files changed, 0 insertions, 0 deletions