summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-08-17 08:25:29 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-08-17 08:25:29 +0000
commitcb4140ec56dbf276ffd8ca827925895f47e79e45 (patch)
tree7807aab4f96ae42cb069e6051667f2b2a9e41aaa /sys
parent36b7b848bcd22dc2e262e9c9eea51bb48d50d135 (diff)
drm: silence variable 'conn' set but not used
From Qian Cai 991c4756be69417f720734ceb32a22071e0aa0af in linux 4.19.y/4.19.67 bbb6fc43f131f77fcb7ae8081f6d7c51396a2120 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm_framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_framebuffer.c b/sys/dev/pci/drm/drm_framebuffer.c
index 5a29f052e76..2c05b315ef3 100644
--- a/sys/dev/pci/drm/drm_framebuffer.c
+++ b/sys/dev/pci/drm/drm_framebuffer.c
@@ -799,7 +799,7 @@ static int atomic_remove_fb(struct drm_framebuffer *fb)
struct drm_device *dev = fb->dev;
struct drm_atomic_state *state;
struct drm_plane *plane;
- struct drm_connector *conn;
+ struct drm_connector *conn __maybe_unused;
struct drm_connector_state *conn_state;
int i, ret;
unsigned plane_mask;