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



details:   https://anonhg.NetBSD.org/src/rev/818c3cf60c8b
branches:  trunk
changeset: 366119:818c3cf60c8b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:53:39 2018 +0000

description:
Mark unused variable.

diffstat:

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

diffs (27 lines):

diff -r 4e9966c95a53 -r 818c3cf60c8b sys/external/bsd/drm2/dist/drm/ttm/ttm_execbuf_util.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_execbuf_util.c     Mon Aug 27 07:53:28 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_execbuf_util.c     Mon Aug 27 07:53:39 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_execbuf_util.c,v 1.3 2018/08/27 04:58:37 riastradh Exp $   */
+/*     $NetBSD: ttm_execbuf_util.c,v 1.4 2018/08/27 07:53:39 riastradh Exp $   */
 
 /**************************************************************************
  *
@@ -28,7 +28,7 @@
  **************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_execbuf_util.c,v 1.3 2018/08/27 04:58:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_execbuf_util.c,v 1.4 2018/08/27 07:53:39 riastradh Exp $");
 
 #include <drm/ttm/ttm_execbuf_util.h>
 #include <drm/ttm/ttm_bo_driver.h>
@@ -192,7 +192,7 @@
        struct ttm_buffer_object *bo;
        struct ttm_bo_global *glob;
        struct ttm_bo_device *bdev;
-       struct ttm_bo_driver *driver;
+       struct ttm_bo_driver *driver __unused;
 
        if (list_empty(list))
                return;



Home | Main Index | Thread Index | Old Index