]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/hdmi: remove unused intel_hdmi_hdcp2_protocol()
authorJani Nikula <jani.nikula@intel.com>
Mon, 20 Apr 2020 14:04:37 +0000 (17:04 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Apr 2020 06:27:24 +0000 (09:27 +0300)
Unused, hiding from the compiler warnings behind the inline keyword.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200420140438.14672-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_hdmi.c

index 9c058f7aa185b72fd5a29951e761579ee4d1125e..54412f79f0c592ed371ff8f09a39fa3b8fe85093 100644 (file)
@@ -1750,12 +1750,6 @@ int intel_hdmi_hdcp2_capable(struct intel_digital_port *intel_dig_port,
        return ret;
 }
 
-static inline
-enum hdcp_wired_protocol intel_hdmi_hdcp2_protocol(void)
-{
-       return HDCP_PROTOCOL_HDMI;
-}
-
 static const struct intel_hdcp_shim intel_hdmi_hdcp_shim = {
        .write_an_aksv = intel_hdmi_hdcp_write_an_aksv,
        .read_bksv = intel_hdmi_hdcp_read_bksv,