iio: frequency: admv1013: remove the always true condition
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Tue, 4 Jan 2022 21:09:20 +0000 (02:09 +0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 30 Jan 2022 11:50:16 +0000 (11:50 +0000)
commita1cba0e2deeb0fe5200602658ed1078a714f8667
tree3e0af5e99ee835bc3ddab9a161aa231e11040c4d
parentccbed9d8d2a5351d8238f2d3f0741c9a3176f752
iio: frequency: admv1013: remove the always true condition

unsigned int variable is always greater than or equal to zero. Make the
if condition simple.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Fixes: da35a7b526d9 ("iio: frequency: admv1013: add support for ADMV1013")
Link: https://lore.kernel.org/r/YdS3gJYtECMaDDjA@debian-BULLSEYE-live-builder-AMD64
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/frequency/admv1013.c