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/i915 Mark unused variable.



details:   https://anonhg.NetBSD.org/src/rev/c72bf21729ff
branches:  trunk
changeset: 365936:c72bf21729ff
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:19:44 2018 +0000

description:
Mark unused variable.

diffstat:

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

diffs (27 lines):

diff -r a28ecbfe1fe4 -r c72bf21729ff sys/external/bsd/drm2/dist/drm/i915/intel_atomic_plane.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_atomic_plane.c  Mon Aug 27 07:19:34 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_atomic_plane.c  Mon Aug 27 07:19:44 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_atomic_plane.c,v 1.2 2018/08/27 04:58:24 riastradh Exp $ */
+/*     $NetBSD: intel_atomic_plane.c,v 1.3 2018/08/27 07:19:44 riastradh Exp $ */
 
 /*
  * Copyright © 2014 Intel Corporation
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_atomic_plane.c,v 1.2 2018/08/27 04:58:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_atomic_plane.c,v 1.3 2018/08/27 07:19:44 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
@@ -112,7 +112,7 @@
                                    struct drm_plane_state *state)
 {
        struct drm_crtc *crtc = state->crtc;
-       struct intel_crtc *intel_crtc;
+       struct intel_crtc *intel_crtc __unused;
        struct intel_crtc_state *crtc_state;
        struct intel_plane *intel_plane = to_intel_plane(plane);
        struct intel_plane_state *intel_state = to_intel_plane_state(state);



Home | Main Index | Thread Index | Old Index