From: jsg Date: Thu, 19 Sep 2024 05:08:10 +0000 (+0000) Subject: don't warn when returning early in hdcp functions X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=db16dc906bc65ca12d3889d768306bad2b29e8f6;p=openbsd don't warn when returning early in hdcp functions --- 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);