Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358190
b: refs/heads/master
c: dfe96dd
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter authored and Rob Clark committed Feb 16, 2013
1 parent 0944484 commit 9639dac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 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: 16ef3dfe460616f14120973f78fe640e79862654
refs/heads/master: dfe96ddcfa22b44100814b9435770f6ff1309d37
14 changes: 0 additions & 14 deletions trunk/drivers/gpu/drm/omapdrm/omap_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,6 @@ static int fb_show(struct seq_file *m, void *arg)
struct drm_device *dev = node->minor->dev;
struct omap_drm_private *priv = dev->dev_private;
struct drm_framebuffer *fb;
int ret;

ret = mutex_lock_interruptible(&dev->mode_config.mutex);
if (ret)
return ret;

ret = mutex_lock_interruptible(&dev->struct_mutex);
if (ret) {
mutex_unlock(&dev->mode_config.mutex);
return ret;
}

seq_printf(m, "fbcon ");
omap_framebuffer_describe(priv->fbdev->fb, m);
Expand All @@ -82,9 +71,6 @@ static int fb_show(struct seq_file *m, void *arg)
}
mutex_unlock(&dev->mode_config.fb_lock);

mutex_unlock(&dev->struct_mutex);
mutex_unlock(&dev->mode_config.mutex);

return 0;
}

Expand Down

0 comments on commit 9639dac

Please sign in to comment.