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



details:   https://anonhg.NetBSD.org/src/rev/6a7a265cabe0
branches:  trunk
changeset: 366098:6a7a265cabe0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:49:47 2018 +0000

description:
Mark unused variable.

diffstat:

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

diffs (27 lines):

diff -r 34770012efa3 -r 6a7a265cabe0 sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c     Mon Aug 27 07:49:36 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c     Mon Aug 27 07:49:47 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_object.c,v 1.4 2018/08/27 04:58:36 riastradh Exp $      */
+/*     $NetBSD: radeon_object.c,v 1.5 2018/08/27 07:49:47 riastradh Exp $      */
 
 /*
  * Copyright 2009 Jerome Glisse.
@@ -32,7 +32,7 @@
  *    Dave Airlie
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_object.c,v 1.4 2018/08/27 04:58:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_object.c,v 1.5 2018/08/27 07:49:47 riastradh Exp $");
 
 #include <linux/list.h>
 #include <linux/slab.h>
@@ -325,7 +325,7 @@
 void radeon_bo_unref(struct radeon_bo **bo)
 {
        struct ttm_buffer_object *tbo;
-       struct radeon_device *rdev;
+       struct radeon_device *rdev __unused;
 
        if ((*bo) == NULL)
                return;



Home | Main Index | Thread Index | Old Index