summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-09-19 05:08:11 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-09-19 05:08:11 +0000
commit52abb98e5aa55baf4ccf1a9aad5066c837cfa0cb (patch)
tree5b67e138c30cb9f789401d75e74f6fb9b0ee19ab /sys
parent60fc3bcba144fa3cdd11b9d62731fd1069aac7c3 (diff)
don't warn when returning early in hdcp functions
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/i915/display/intel_hdcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/display/intel_hdcp.c b/sys/dev/pci/drm/i915/display/intel_hdcp.c
index cafb966a935..197c83f713e 100644
--- a/sys/dev/pci/drm/i915/display/intel_hdcp.c
+++ b/sys/dev/pci/drm/i915/display/intel_hdcp.c
@@ -2165,7 +2165,6 @@ static int initialize_hdcp_port_data(struct intel_connector *connector,
struct intel_digital_port *dig_port,
const struct intel_hdcp_shim *shim)
{
- STUB();
return -ENOSYS;
#ifdef notyet
struct drm_i915_private *i915 = to_i915(connector->base.dev);
@@ -2225,7 +2224,6 @@ void intel_hdcp_component_init(struct drm_i915_private *i915)
if (!is_hdcp2_supported(i915))
return;
- STUB();
#ifdef notyet
mutex_lock(&i915->display.hdcp.hdcp_mutex);
drm_WARN_ON(&i915->drm, i915->display.hdcp.comp_added);