diff options
author | Christian Dietrich <christian.dietrich@informatik.uni-erlangen.de> | 2011-06-04 05:35:47 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-06-29 15:30:43 +1000 |
commit | 9a8f99fab02db296815d7f0ae8ba8ce169df0063 (patch) | |
tree | 5f1bfc1bf3febaded62f6ab64afe1b7a6b3d15ba /include/asm-generic/serial.h | |
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>
Diffstat (limited to 'include/asm-generic/serial.h')
0 files changed, 0 insertions, 0 deletions