From: Finn Thain Date: Sun, 17 Jul 2011 14:06:10 +0000 (+1000) Subject: m68k/mac: Fix compiler warning in via_read_time() X-Git-Tag: v3.2-rc1~191^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75a23850cd282eeafbe23d6a9ade4eaf23babd51;p=pandora-kernel.git m68k/mac: Fix compiler warning in via_read_time() The algorithm described in the comment compares two reads from the RTC but the code actually reads once and compares the result to an uninitialized value. This causes the compiler to warn, "last_result maybe used uninitialized". Make the code match the comment, fix the warning and perhaps improve reliability. Tested on a Quadra 700. Signed-off-by: Finn Thain Signed-off-by: Geert Uytterhoeven --- Reading git-diff-tree failed