aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2012-03-26 12:51:27 +0000
committerLen Brown <[email protected]>2012-03-30 05:55:22 +0000
commitdb70b04407a63668e5fee773f76f90367492fd25 (patch)
tree65bc28cc822c9ea2f93b7bffbda00c44e5acb526 /lib/mpi/mpi-internal.h
parentcpuidle: use the driver's state_count as default (diff)
downloadkernel-db70b04407a63668e5fee773f76f90367492fd25.tar.gz
kernel-db70b04407a63668e5fee773f76f90367492fd25.zip
cpuidle: remove useless array definition in cpuidle_structure
All the modules name are ro-data, it is never copied to the array. eg. static struct cpuidle_driver intel_idle_driver = { .name = "intel_idle", .owner = THIS_MODULE, }; It safe to assign the pointer of this ro-data to a const char *. By this way we save 12 bytes. Signed-off-by: Daniel Lezcano <[email protected]> Acked-by: Deepthi Dharwar <[email protected]> Tested-by: Deepthi Dharwar <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions