Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / drivers / gpu / vga / vgaarb.c
index 77711623b9739526f8605fef680120424e4f9a59..7bcbf863656ec6f2c1e76d6156365fc0548230ff 100644 (file)
@@ -400,7 +400,6 @@ int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible)
                }
                schedule();
                remove_wait_queue(&vga_wait_queue, &wait);
-               set_current_state(TASK_RUNNING);
        }
        return rc;
 }