Skip to content

Commit

Permalink
ASoC: Intel: skylake: (cosmetic) remove redundant variable initialisa…
Browse files Browse the repository at this point in the history
…tions

Variables, used as loop iterators, don't need to be initialised.

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-7-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 c4aafb3 commit ca84184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/intel/skylake/skl.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static int skl_resume(struct device *dev)
struct pci_dev *pci = to_pci_dev(dev);
struct hdac_bus *bus = pci_get_drvdata(pci);
struct skl_dev *skl = bus_to_skl(bus);
struct hdac_ext_link *hlink = NULL;
struct hdac_ext_link *hlink;
int ret;

/*
Expand Down Expand Up @@ -794,7 +794,7 @@ static void skl_probe_work(struct work_struct *work)
{
struct skl_dev *skl = container_of(work, struct skl_dev, probe_work);
struct hdac_bus *bus = skl_to_bus(skl);
struct hdac_ext_link *hlink = NULL;
struct hdac_ext_link *hlink;
int err;

if (IS_ENABLED(CONFIG_SND_SOC_HDAC_HDMI)) {
Expand Down

0 comments on commit ca84184

Please sign in to comment.