Просмотр исходного кода

pci/hotplug/cpqphp_ctrl.c: remove stale BKL use

remove stale BKL use from drivers/pci/hotplug/cpqphp_ctrl.c.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ingo Molnar 18 лет назад
Родитель
Сommit
60ac8f20fe
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      drivers/pci/hotplug/cpqphp_ctrl.c

+ 1 - 3
drivers/pci/hotplug/cpqphp_ctrl.c

@@ -1746,10 +1746,8 @@ static void pushbutton_helper_thread(unsigned long data)
 static int event_thread(void* data)
 {
 	struct controller *ctrl;
-	lock_kernel();
+
 	daemonize("phpd_event");
-	
-	unlock_kernel();
 
 	while (1) {
 		dbg("!!!!event_thread sleeping\n");