From: Christian Dietrich Date: Sat, 4 Jun 2011 05:35:47 +0000 (+0000) Subject: powerpc/rtas-rtc: remove sideeffects of printk_ratelimit X-Git-Tag: v3.0-rc6~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a8f99fab02db296815d7f0ae8ba8ce169df0063;p=pandora-kernel.git powerpc/rtas-rtc: remove sideeffects of printk_ratelimit Don't use printk_ratelimit() as an additional condition for returning on an error. Because when the ratelimit is reached, printk_ratelimit will return 0 and e.g. in rtas_get_boot_time won't check for an error condition. Signed-off-by: Christian Dietrich Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed