diff options
| author | André Goddard Rosa <[email protected]> | 2009-12-15 02:00:59 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-15 16:53:32 +0000 |
| commit | b5ff992b09dbe06a4a020fbb702e29ab61290cc5 (patch) | |
| tree | b23916d07465dc4a2dbd011d2497491e5e217e5d /lib/dynamic_debug.c | |
| parent | vsprintf: use TOLOWER whenever possible (diff) | |
| download | kernel-b5ff992b09dbe06a4a020fbb702e29ab61290cc5.tar.gz kernel-b5ff992b09dbe06a4a020fbb702e29ab61290cc5.zip | |
vsprintf: reduce code size by avoiding extra check
No functional change, just refactor the code so that it avoid checking
"if (hi)" two times in a sequence, taking advantage of previous check made.
It also reduces code size:
text data bss dec hex filename
15726 0 8 15734 3d76 vsprintf.o (ex lib/lib.a-BEFORE)
15710 0 8 15718 3d66 vsprintf.o (ex lib/lib.a-AFTER)
Signed-off-by: André Goddard Rosa <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
