Skip to content

Commit

Permalink
ASoC: codecs: hdac_hdmi: (cosmetic) remove redundant variable initial…
Browse files Browse the repository at this point in the history
…isations

Remove several redundant variable initialisations.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200312194859.4051-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
lyakh authored and broonie committed Mar 13, 2020
1 parent 42c6775 commit c4aafb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/codecs/hdac_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1998,11 +1998,11 @@ static struct hdac_hdmi_drv_data intel_drv_data = {

static int hdac_hdmi_dev_probe(struct hdac_device *hdev)
{
struct hdac_hdmi_priv *hdmi_priv = NULL;
struct hdac_hdmi_priv *hdmi_priv;
struct snd_soc_dai_driver *hdmi_dais = NULL;
struct hdac_ext_link *hlink = NULL;
struct hdac_ext_link *hlink;
int num_dais = 0;
int ret = 0;
int ret;
struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver);
const struct hda_device_id *hdac_id = hdac_get_device_id(hdev, hdrv);

Expand Down

0 comments on commit c4aafb3

Please sign in to comment.