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 a...



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

description:
Mark unused variable as such.

diffstat:

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

diffs (27 lines):

diff -r dcba1b9407a5 -r 03c4dacefdad sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c Mon Aug 27 07:43:50 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c Mon Aug 27 07:44:01 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_connectors.c,v 1.4 2018/08/27 04:58:36 riastradh Exp $  */
+/*     $NetBSD: radeon_connectors.c,v 1.5 2018/08/27 07:44:01 riastradh Exp $  */
 
 /*
  * Copyright 2007-8 Advanced Micro Devices, Inc.
@@ -26,7 +26,7 @@
  *          Alex Deucher
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_connectors.c,v 1.4 2018/08/27 04:58:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_connectors.c,v 1.5 2018/08/27 07:44:01 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include <drm/drm_edid.h>
@@ -2517,7 +2517,7 @@
                return;
 
        list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
-               int ret;
+               int ret __unused;
 
                radeon_connector = to_radeon_connector(connector);
 



Home | Main Index | Thread Index | Old Index