From: Sven Wegener Date: Mon, 13 Oct 2008 09:41:39 +0000 (+0100) Subject: leds: Remove uneeded strlen calls X-Git-Tag: v2.6.28-rc1~6^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd8e5a2039607e0f79c33549726a2415d977c938;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Richard Purdie --- Reading git-diff-tree failed