Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250570
b: refs/heads/master
c: d4a3b10
h: refs/heads/master
v: v3
  • Loading branch information
Alex Williamson authored and Dave Airlie committed May 4, 2011
1 parent 70d1c54 commit e11cf23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 508c8d60bd08640db39146edbbfdbf01a802163d
refs/heads/master: d4a3b10c16a1bdb09483233bd7aeac684ccc160a
6 changes: 0 additions & 6 deletions trunk/drivers/gpu/vga/vga_switcheroo.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ static int vga_switchoff(struct vga_switcheroo_client *client)
/* stage one happens before delay */
static int vga_switchto_stage1(struct vga_switcheroo_client *new_client)
{
int ret;
int i;
struct vga_switcheroo_client *active = NULL;

Expand All @@ -231,11 +230,6 @@ static int vga_switchto_stage1(struct vga_switcheroo_client *new_client)
if (!active)
return 0;

/* power up the first device */
ret = pci_enable_device(new_client->pdev);
if (ret)
return ret;

if (new_client->pwr_state == VGA_SWITCHEROO_OFF)
vga_switchon(new_client);

Expand Down

0 comments on commit e11cf23

Please sign in to comment.