diff options
| author | André Goddard Rosa <[email protected]> | 2009-12-14 18:01:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-15 08:53:33 -0800 |
| commit | b5f54b07c06f6e438a4fee92c27423e880d8816b (patch) | |
| tree | d1bac8b28c77f1b646dde9779eba73d927d269f7 /include/linux/debugobjects.h | |
| parent | e7d2860b690d4f3bed6824757c540579638e3d1e (diff) | |
parser: remove unnecessary strlen()
No functional change. Cache strlen() result to avoid recalculating it up
to 3 times on the worst case.
Reduces code size a little by 32 bytes:
text data bss dec hex filename
1385 0 0 1385 569 lib/parser.o-BEFORE
1353 0 0 1353 549 lib/parser.o-AFTER
Signed-off-by: André Goddard Rosa <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions