diff options
| author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-02-12 15:01:42 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:59:21 +0200 |
| commit | 6e911dfa4448aa6fee30ab5dbb1c51b9a67b9e79 (patch) | |
| tree | 8904e1ff2f822c6a128bed5bc6076ed4b3933a98 /include/uapi/linux/netdevice.h | |
| parent | 2308bc5917bfbd95a1f203f173e8c570e160a9b7 (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>
Diffstat (limited to 'include/uapi/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions
