commit | 0baab4fd6de4beb3393e173b392038d01da54bec | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 31 15:28:23 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 31 15:28:23 2013 -0700 |
tree | ff74c78318505b8f7346d8693117b9dfa00989ab | |
parent | 52469b4fcd4fc433ffc78cec4cf94368e9052890 [diff] |
i915: fix compiler warning The last i915 drm update brought with it this annoying warning drivers/gpu/drm/i915/intel_crt.c: In function ‘intel_crt_get_config’: drivers/gpu/drm/i915/intel_crt.c:110:21: warning: unused variable ‘dev’ [-Wunused-variable] struct drm_device *dev = encoder->base.dev; ^ introduced by commit 7195a50b5c7e ("drm/i915: Add HSW CRT output readout support"). Remove the offending pointless variable. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>