]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] remove redundant sprintf from request_module call.
authorKees Cook <kees.cook@canonical.com>
Wed, 4 May 2011 15:38:56 +0000 (08:38 -0700)
committerDave Jones <davej@redhat.com>
Wed, 4 May 2011 15:50:58 +0000 (11:50 -0400)
commitca26e0ac73159772b3bc47cab4ef5902fcfe9a2d
treee6f5b1579d37c2255be9b6f83021e443b4a757a7
parent03cf3873db9f2687c732c405d55d6d46543477bc
[CPUFREQ] remove redundant sprintf from request_module call.

Since format string handling is part of request_module, there is no
need to construct the module name. As such, drop the redundant sprintf
and heap usage.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c