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 Mark some variables unused.
details: https://anonhg.NetBSD.org/src/rev/41a1a6c93ee2
branches: trunk
changeset: 1028172:41a1a6c93ee2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:45:01 2021 +0000
description:
Mark some variables unused.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 8d7f7f918fa3 -r 41a1a6c93ee2 sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c
--- a/sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c Sun Dec 19 09:44:48 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c Sun Dec 19 09:45:01 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_dp_mst_topology.c,v 1.9 2021/12/19 09:44:48 riastradh Exp $ */
+/* $NetBSD: drm_dp_mst_topology.c,v 1.10 2021/12/19 09:45:01 riastradh Exp $ */
/*
* Copyright © 2014 Red Hat
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_dp_mst_topology.c,v 1.9 2021/12/19 09:44:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_dp_mst_topology.c,v 1.10 2021/12/19 09:45:01 riastradh Exp $");
#include <linux/delay.h>
#include <linux/errno.h>
@@ -2970,7 +2970,7 @@
struct drm_dp_mst_branch *mstb)
{
struct drm_dp_sideband_msg_tx *txmsg;
- int len, ret;
+ int len __unused, ret;
txmsg = kzalloc(sizeof(*txmsg), GFP_KERNEL);
if (!txmsg)
@@ -3378,7 +3378,7 @@
struct drm_dp_mst_port *port,
int offset, int size, u8 *bytes)
{
- int len;
+ int len __unused;
int ret = 0;
struct drm_dp_sideband_msg_tx *txmsg;
struct drm_dp_mst_branch *mstb;
Home |
Main Index |
Thread Index |
Old Index