fix unused variable in cpuidle.c
removed ondemand due to build conflicts and as we don't want this anymore
fix unused vars errors