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/i915 Mark unused variables, p...
details: https://anonhg.NetBSD.org/src/rev/1a2e27584cc5
branches: trunk
changeset: 992647:1a2e27584cc5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:22:08 2018 +0000
description:
Mark unused variables, pipe -> i915_pipe.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_dp_mst.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 7918a3fc9b5e -r 1a2e27584cc5 sys/external/bsd/drm2/dist/drm/i915/intel_dp_mst.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_dp_mst.c Mon Aug 27 07:21:59 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_dp_mst.c Mon Aug 27 07:22:08 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_dp_mst.c,v 1.2 2018/08/27 04:58:24 riastradh Exp $ */
+/* $NetBSD: intel_dp_mst.c,v 1.3 2018/08/27 07:22:08 riastradh Exp $ */
/*
* Copyright © 2008 Intel Corporation
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_dp_mst.c,v 1.2 2018/08/27 04:58:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_dp_mst.c,v 1.3 2018/08/27 07:22:08 riastradh Exp $");
#include <drm/drmP.h>
#include "i915_drv.h"
@@ -220,7 +220,7 @@
struct drm_device *dev = intel_dig_port->base.base.dev;
struct drm_i915_private *dev_priv = dev->dev_private;
enum port port = intel_dig_port->port;
- int ret;
+ int ret __unused;
DRM_DEBUG_KMS("%d\n", intel_dp->active_mst_links);
@@ -234,7 +234,7 @@
}
static bool intel_dp_mst_enc_get_hw_state(struct intel_encoder *encoder,
- enum pipe *pipe)
+ enum i915_pipe *pipe)
{
struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base);
*pipe = intel_mst->pipe;
@@ -407,7 +407,7 @@
static bool intel_dp_mst_get_hw_state(struct intel_connector *connector)
{
if (connector->encoder && connector->base.state->crtc) {
- enum pipe pipe;
+ enum i915_pipe pipe;
if (!connector->encoder->get_hw_state(connector->encoder, &pipe))
return false;
return true;
@@ -523,7 +523,7 @@
};
static struct intel_dp_mst_encoder *
-intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum pipe pipe)
+intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum i915_pipe pipe)
{
struct intel_dp_mst_encoder *intel_mst;
struct intel_encoder *intel_encoder;
Home |
Main Index |
Thread Index |
Old Index