diff options
| author | Rasmus Villemoes <[email protected]> | 2014-12-02 23:10:54 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-02-02 17:57:46 +0000 |
| commit | f50332ff2574130903356e800913c1a73cc6c1dc (patch) | |
| tree | 89f06badf4e0f42bc26f150d89101efde0dea82e /lib/string_helpers.c | |
| parent | scsi: merge consecutive seq_puts calls (diff) | |
| download | kernel-f50332ff2574130903356e800913c1a73cc6c1dc.tar.gz kernel-f50332ff2574130903356e800913c1a73cc6c1dc.zip | |
scsi: print single-character strings with seq_putc
Using seq_putc to print a single character saves at least a strlen()
call and a memory access, and may also give a small .text reduction.
Signed-off-by: Rasmus Villemoes <[email protected]>
Reviewed-by: Finn Thain <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
