diff options
author | 2008-10-13 10:41:39 +0100 | |
---|---|---|
committer | 2008-10-20 22:37:04 +0100 | |
commit | dd8e5a2039607e0f79c33549726a2415d977c938 (patch) | |
tree | 942cfaf23b21797dd8d8be4a22c4d2a8107a2545 /arch/powerpc/sysdev/xilinx_intc.c | |
parent | leds: Add leds-wrap default-trigger (diff) | |
download | wireguard-linux-dd8e5a2039607e0f79c33549726a2415d977c938.tar.xz wireguard-linux-dd8e5a2039607e0f79c33549726a2415d977c938.zip |
leds: Remove uneeded strlen calls
There's no need for the additional call to strlen(), we can directly
return the value returned by sprintf(). We now return a length value
that doesn't include the final '\0', but user space shouldn't bother
about it anyway.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
0 files changed, 0 insertions, 0 deletions