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 variables.
details: https://anonhg.NetBSD.org/src/rev/e596cdd39ab3
branches: trunk
changeset: 992793:e596cdd39ab3
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:49:04 2018 +0000
description:
Mark unused variables.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c | 6 +++---
sys/external/bsd/drm2/dist/drm/radeon/radeon_dp_mst.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r 8c1119dec567 -r e596cdd39ab3 sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c Mon Aug 27 07:48:51 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c Mon Aug 27 07:49:04 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeon_display.c,v 1.7 2018/08/27 07:48:51 riastradh Exp $ */
+/* $NetBSD: radeon_display.c,v 1.8 2018/08/27 07:49:04 riastradh Exp $ */
/*
* Copyright 2007-8 Advanced Micro Devices, Inc.
@@ -26,7 +26,7 @@
* Alex Deucher
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_display.c,v 1.7 2018/08/27 07:48:51 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_display.c,v 1.8 2018/08/27 07:49:04 riastradh Exp $");
#include <drm/drmP.h>
#include <drm/radeon_drm.h>
@@ -1768,7 +1768,7 @@
struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
struct radeon_encoder *radeon_encoder;
struct drm_connector *connector;
- struct radeon_connector *radeon_connector;
+ struct radeon_connector *radeon_connector __unused;
bool first = true;
u32 src_v = 1, dst_v = 1;
u32 src_h = 1, dst_h = 1;
diff -r 8c1119dec567 -r e596cdd39ab3 sys/external/bsd/drm2/dist/drm/radeon/radeon_dp_mst.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_dp_mst.c Mon Aug 27 07:48:51 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_dp_mst.c Mon Aug 27 07:49:04 2018 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: radeon_dp_mst.c,v 1.2 2018/08/27 04:58:36 riastradh Exp $ */
+/* $NetBSD: radeon_dp_mst.c,v 1.3 2018/08/27 07:49:04 riastradh Exp $ */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_dp_mst.c,v 1.2 2018/08/27 04:58:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_dp_mst.c,v 1.3 2018/08/27 07:49:04 riastradh Exp $");
#include <drm/drmP.h>
#include <drm/drm_dp_mst_helper.h>
@@ -398,7 +398,7 @@
struct radeon_connector *radeon_connector;
struct drm_crtc *crtc;
struct radeon_crtc *radeon_crtc;
- int ret, slots;
+ int ret __unused, slots;
if (!ASIC_IS_DCE5(rdev)) {
DRM_ERROR("got mst dpms on non-DCE5\n");
Home |
Main Index |
Thread Index |
Old Index