From db16dc906bc65ca12d3889d768306bad2b29e8f6 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 19 Sep 2024 05:08:10 +0000 Subject: [PATCH] don't warn when returning early in hdcp functions --- sys/dev/pci/drm/i915/display/intel_hdcp.c | 2 -- 1 file changed, 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); -- 2.20.1