aboutsummaryrefslogtreecommitdiffstats
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-10-11 16:48:24 +0200
committerJarkko Sakkinen <jarkko@kernel.org>2025-11-27 23:50:20 +0200
commit58b46219bfcf1906b795307372b0d50d65115026 (patch)
treea90c28ee27a5ab0244cf178891f51ebcdaf73f64 /rust/kernel/alloc/kvec/errors.rs
parentMerge tag 'ceph-for-6.18-rc8' of https://github.com/ceph/ceph-client (diff)
downloadlinux-58b46219bfcf1906b795307372b0d50d65115026.tar.gz
linux-58b46219bfcf1906b795307372b0d50d65115026.zip
keys: Remove redundant less-than-zero checks
The local variables 'size_t datalen' are unsigned and cannot be less than zero. Remove the redundant conditions. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions