Commit a71f62ed authored by Tony Luck's avatar Tony Luck

[IA64] Fix two warnings introduced by perfmon patches.

Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent a5a70b75
...@@ -183,7 +183,7 @@ static int __init nohalt_setup(char * str) ...@@ -183,7 +183,7 @@ static int __init nohalt_setup(char * str)
} }
__setup("nohalt", nohalt_setup); __setup("nohalt", nohalt_setup);
int void
update_pal_halt_status(int status) update_pal_halt_status(int status)
{ {
can_do_pal_halt = pal_halt && status; can_do_pal_halt = pal_halt && status;
...@@ -195,8 +195,6 @@ update_pal_halt_status(int status) ...@@ -195,8 +195,6 @@ update_pal_halt_status(int status)
void void
default_idle (void) default_idle (void)
{ {
int can_do_pal;
while (!need_resched()) while (!need_resched())
if (can_do_pal_halt) if (can_do_pal_halt)
safe_halt(); safe_halt();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment