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/amd/display/dc/dcn10 amdgpu: ...
details: https://anonhg.NetBSD.org/src/rev/8ab1f2016bf9
branches: trunk
changeset: 1028591:8ab1f2016bf9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:24:00 2021 +0000
description:
amdgpu: Mark unused variable as such.
diffstat:
sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/amdgpu_dcn10_dpp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c767682185e6 -r 8ab1f2016bf9 sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/amdgpu_dcn10_dpp.c
--- a/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/amdgpu_dcn10_dpp.c Sun Dec 19 11:23:51 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/amdgpu_dcn10_dpp.c Sun Dec 19 11:24:00 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdgpu_dcn10_dpp.c,v 1.2 2021/12/18 23:45:03 riastradh Exp $ */
+/* $NetBSD: amdgpu_dcn10_dpp.c,v 1.3 2021/12/19 11:24:00 riastradh Exp $ */
/*
* Copyright 2016 Advanced Micro Devices, Inc.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_dcn10_dpp.c,v 1.2 2021/12/18 23:45:03 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_dcn10_dpp.c,v 1.3 2021/12/19 11:24:00 riastradh Exp $");
#include "dm_services.h"
@@ -139,7 +139,7 @@
struct scaler_data *scl_data,
const struct scaling_taps *in_taps)
{
- uint32_t pixel_width;
+ uint32_t pixel_width __unused;
if (scl_data->viewport.width > scl_data->recout.width)
pixel_width = scl_data->recout.width;
Home |
Main Index |
Thread Index |
Old Index