s3c24xx: Fix wrong logical operator
commitecac575b418cd6503760a4aead824de0033bd8aa
authorStefan Weil <sw@weilnetz.de>
Tue, 17 Sep 2013 20:44:11 +0000 (17 22:44 +0200)
committerStefan Weil <sw@weilnetz.de>
Tue, 17 Sep 2013 20:44:11 +0000 (17 22:44 +0200)
tree6c6727e459f4f3556fa915b844f5daa03d188f14
parent26c0cf3395893f4ee75fdb2837694a2ac20b1044
s3c24xx: Fix wrong logical operator

Error report from clang:

hw/arm/s3c24xx_timers.c:110:40: warning:
use of logical '&&' with constant operand [-Wconstant-logical-operand]
    if (s->timers_reg[S3C_TIMERS_TCON] && (1<<22)) {

Signed-off-by: Stefan Weil <sw@weilnetz.de>
hw/arm/s3c24xx_timers.c