diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-05-12 17:51:24 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-05-22 15:25:28 +0300 |
| commit | e1ad89211938dcf0d5fffbbab6a178ce54b9ae38 (patch) | |
| tree | 171b2a3892a7d497f81354400d3233adc04beb3b /scripts/basic | |
| parent | 209466c5fe352b81b9fa9d135bbffbac18350fb2 (diff) | |
| download | linux-e1ad89211938dcf0d5fffbbab6a178ce54b9ae38.tar.xz | |
crypto: atmel - use min3 to simplify atmel_sha_append_sg
Replace two consecutive min() calls with min3() to simplify the code.
And since count is unsigned and cannot be less than zero, adjust the if
check and update the comment accordingly.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
