[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)
commit1a8e1463a49aaa452da1cefe184a00d4df47f1ef
treee6f5b1579d37c2255be9b6f83021e443b4a757a7
parent469057d587a9de2cd6087d71a008b908e785a5b6
[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