commit | 9a8f99fab02db296815d7f0ae8ba8ce169df0063 | [log] [tgz] |
---|---|---|
author | Christian Dietrich <christian.dietrich@informatik.uni-erlangen.de> | Sat Jun 04 05:35:47 2011 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jun 29 15:30:43 2011 +1000 |
tree | 5f1bfc1bf3febaded62f6ab64afe1b7a6b3d15ba | |
parent | 937c190ccdd29855828529fc2b4b3e5f1282ff23 [diff] |
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 <christian.dietrich@informatik.uni-erlangen.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>