]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
hwmon: (lm93) Drop unnecessary compare statement
authorGuenter Roeck <linux@roeck-us.net>
Wed, 19 Sep 2012 18:21:51 +0000 (11:21 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Sep 2012 04:08:35 +0000 (21:08 -0700)
commit3be8102fe30c09e9b264a2f08ae2f69da7e32eb4
tree9b1ce5af8e456cd63ac53e9c2543fce639603425
parent860f37319e9a1141b041ca2e77ca121dccde4b93
hwmon: (lm93) Drop unnecessary compare statement

The following build warning is seen with -Wextra.

lm93.c: In function â€˜store_fan_smart_tach’:
lm93.c:1833:2: warning: comparison of unsigned expression >= 0 is always true

Drop the unnecessary comparison.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm93.c