Re: [PATCH] rtc: ds1685: Remove superfluous checks for out-of-range u8 values

2015-02-18 Thread Joshua Kinard
On 02/18/2015 05:44, Geert Uytterhoeven wrote: > drivers/rtc/rtc-ds1685.c: In function ‘ds1685_rtc_read_alarm’: > drivers/rtc/rtc-ds1685.c:402: warning: comparison is always true due to > limited range of data type > drivers/rtc/rtc-ds1685.c:409: warning: comparison is always true due to > limite

[PATCH] rtc: ds1685: Remove superfluous checks for out-of-range u8 values

2015-02-18 Thread Geert Uytterhoeven
drivers/rtc/rtc-ds1685.c: In function ‘ds1685_rtc_read_alarm’: drivers/rtc/rtc-ds1685.c:402: warning: comparison is always true due to limited range of data type drivers/rtc/rtc-ds1685.c:409: warning: comparison is always true due to limited range of data type drivers/rtc/rtc-ds1685.c:416: warnin