commit | 43e5b666cf25516b5c27cd10c47d287dc9d1f376 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Thu Feb 12 15:01:42 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 12 18:54:13 2015 -0800 |
tree | 1347a5fca8c89e284e3548e9059a3e1f6aee1e84 | |
parent | 2aa2f9e21e4eb25c720b2e7d80f8929638f6ad73 [diff] |
lib/vsprintf.c: replace while with do-while in skip_atoi All callers of skip_atoi have already checked for the first character being a digit. In this case, gcc generates simpler code for a do while-loop. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>