[Intel-gfx] [PATCH 1/2] drm/i915/hdmi: remove unused intel_hdmi_hdcp2_protocol()

Jani Nikula jani.nikula at intel.com
Tue Apr 21 06:34:17 UTC 2020


On Mon, 20 Apr 2020, Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:
> On Mon, Apr 20, 2020 at 05:04:37PM +0300, Jani Nikula wrote:
>> Unused, hiding from the compiler warnings behind the inline keyword.
>> 
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Thanks, pushed both.

BR,
Jani.


>
>> ---
>>  drivers/gpu/drm/i915/display/intel_hdmi.c | 6 ------
>>  1 file changed, 6 deletions(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
>> index 9c058f7aa185..54412f79f0c5 100644
>> --- a/drivers/gpu/drm/i915/display/intel_hdmi.c
>> +++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
>> @@ -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,
>> -- 
>> 2.20.1
>> 
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list