Skip to content
Snippets Groups Projects
Commit f6672544 authored by Colin Ian King's avatar Colin Ian King Committed by Jonathan Cameron
Browse files

iio: st_accel: remove redundant unsigned less than zero check


The check that variable val is less than zero is redundant since val
is an unsigned int and hence can never be less than zero. Remove it.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent e132f62b
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment