Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm Mark set-but-unused variable ...



details:   https://anonhg.NetBSD.org/src/rev/7db781f830e5
branches:  trunk
changeset: 365801:7db781f830e5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:48:26 2018 +0000

description:
Mark set-but-unused variable as such.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_atomic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f9cb4aabb465 -r 7db781f830e5 sys/external/bsd/drm2/dist/drm/drm_atomic.c
--- a/sys/external/bsd/drm2/dist/drm/drm_atomic.c       Mon Aug 27 06:48:15 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_atomic.c       Mon Aug 27 06:48:26 2018 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index