浏览代码

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 年之前
父节点
当前提交
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");