Commit 69dcfc6
committed
iio: adc: ad4630: Drop lower bound calibscale value check
The calibration scale value is stored in an unsigned variable so it's
value can never be a negative number. Thus, drop the lower bound check
for the calibration scale values as that is not needed.
This fixes a 'comparison of unsigned expression in '< 0' is always false'
build warn.
Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>1 parent 4781720 commit 69dcfc6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| |||
0 commit comments