Browse Source

[IA64] Fix two warnings introduced by perfmon patches.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Tony Luck 20 năm trước cách đây
mục cha
commit
a71f62edc9
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      arch/ia64/kernel/process.c

+ 1 - 3
arch/ia64/kernel/process.c

@@ -183,7 +183,7 @@ static int __init nohalt_setup(char * str)
 }
 __setup("nohalt", nohalt_setup);
 
-int
+void
 update_pal_halt_status(int status)
 {
 	can_do_pal_halt = pal_halt && status;
@@ -195,8 +195,6 @@ update_pal_halt_status(int status)
 void
 default_idle (void)
 {
-	int can_do_pal;
-
 	while (!need_resched())
 		if (can_do_pal_halt)
 			safe_halt();