mfd: ab8500-debugfs: Cleaning up unnecessary to test, unsigned can't be negative.
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 28 Jun 2014 21:34:38 +0000 (23:34 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:22 +0000 (14:58 +0100)
commita3dd01e17756e85badd587de774cec783abe1b19
tree6f288648fb44c55b3a4af5b47f62f20142956b96
parent005d16b6022676ba8c6ae93e2d38cb0e70e0ef92
mfd: ab8500-debugfs: Cleaning up unnecessary to test, unsigned can't be negative.

Unsigned variable can't be negative so it is unnecessary to test it

This was found using a static code analysis program called cppcheck

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-debugfs.c