diff options
Diffstat (limited to 'cpuhotplug/cpuhotplug_07.sh')
-rwxr-xr-x | cpuhotplug/cpuhotplug_07.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpuhotplug/cpuhotplug_07.sh b/cpuhotplug/cpuhotplug_07.sh index c1f5e2c..239855f 100755 --- a/cpuhotplug/cpuhotplug_07.sh +++ b/cpuhotplug/cpuhotplug_07.sh @@ -29,10 +29,8 @@ TMPFILE=cpuhotplug_07.tmp check_notification() { - local cpu=$1 - local cpuid=${cpu:3} - local pid= - local ret= + cpu=$1 + cpuid=${cpu:3} if [ "$cpu" = "cpu0" ]; then is_cpu0_hotplug_allowed $hotplug_allow_cpu0 || return 0 |