Module Name:    src
Committed By:   riastradh
Date:           Mon Aug 27 06:48:26 UTC 2018

Modified Files:
        src/sys/external/bsd/drm2/dist/drm: drm_atomic.c

Log Message:
Mark set-but-unused variable as such.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/dist/drm/drm_atomic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/drm/drm_atomic.c
diff -u src/sys/external/bsd/drm2/dist/drm/drm_atomic.c:1.5 src/sys/external/bsd/drm2/dist/drm/drm_atomic.c:1.6
--- src/sys/external/bsd/drm2/dist/drm/drm_atomic.c:1.5	Mon Aug 27 06:48:15 2018
+++ src/sys/external/bsd/drm2/dist/drm/drm_atomic.c	Mon Aug 27 06:48:26 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: drm_atomic.c,v 1.5 2018/08/27 06:48:15 riastradh Exp $	*/
+/*	$NetBSD: drm_atomic.c,v 1.6 2018/08/27 06:48:26 riastradh Exp $	*/
 
 /*
  * Copyright (C) 2014 Red Hat
@@ -29,7 +29,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_atomic.c,v 1.5 2018/08/27 06:48:15 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_atomic.c,v 1.6 2018/08/27 06:48:26 riastradh Exp $");
 
 #include <linux/export.h>
 
@@ -1496,7 +1496,7 @@ int drm_mode_atomic_ioctl(struct drm_dev
 	struct drm_atomic_state *state;
 	struct drm_modeset_acquire_ctx ctx;
 	struct drm_plane *plane;
-	struct drm_crtc *crtc;
+	struct drm_crtc *crtc __unused;
 	struct drm_crtc_state *crtc_state;
 	unsigned plane_mask;
 	int ret = 0;

Reply via email to