drm/i915: don't grab dev->struct_mutex for userspace forcewak
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 20:33:58 +0000 (22:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 12 Aug 2012 09:28:49 +0000 (11:28 +0200)
Since forcewake is now protected by a spinlock, we don't need to grab
dev->struct_mutex any more. This way we can also get rid of a stale
comment, noticed by Ben Widawsky while reviewing some locking changes.

v2: Kill the unused variable ret, noticed by Fengguang Wu.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found