[PATCH 3.11 229/233] ALSA: hda - hdmi: introduce patch_nvhdmi()

Levente Kurusa levex at linux.com
Fri Feb 7 11:58:47 UTC 2014


Hi,

On 02/07/2014 12:47 PM, Luis Henriques wrote:
> 3.11.10.4 -stable review patch.  If anyone has any objections, please let me know.
>  [...]
>  
> +static int patch_nvhdmi(struct hda_codec *codec)
> +{
> +	struct hdmi_spec *spec;
> +	int err;
> +
> +	err = patch_generic_hdmi(codec);
> +	if (err)
> +		return err;
> +
> +	spec = codec->spec;
> +
> +	return 0;
> +}
> [...]

Is it just me or is it that the 'spec' variable has no use?

-- 
Regards,
Levente Kurusa




More information about the kernel-team mailing list