]> 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)
commit9567d9c854ac9e71a67db01735046a10222453cd
treee6f5b1579d37c2255be9b6f83021e443b4a757a7
parent732191678d1b17c6911184886065814d1cb921f4
[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