Commit ca841843 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mark Brown

ASoC: Intel: skylake: (cosmetic) remove redundant variable initialisations

Variables, used as loop iterators, don't need to be initialised.
Signed-off-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200312194859.4051-7-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c4aafb33
...@@ -359,7 +359,7 @@ static int skl_resume(struct device *dev) ...@@ -359,7 +359,7 @@ static int skl_resume(struct device *dev)
struct pci_dev *pci = to_pci_dev(dev); struct pci_dev *pci = to_pci_dev(dev);
struct hdac_bus *bus = pci_get_drvdata(pci); struct hdac_bus *bus = pci_get_drvdata(pci);
struct skl_dev *skl = bus_to_skl(bus); struct skl_dev *skl = bus_to_skl(bus);
struct hdac_ext_link *hlink = NULL; struct hdac_ext_link *hlink;
int ret; int ret;
/* /*
...@@ -794,7 +794,7 @@ static void skl_probe_work(struct work_struct *work) ...@@ -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 skl_dev *skl = container_of(work, struct skl_dev, probe_work);
struct hdac_bus *bus = skl_to_bus(skl); struct hdac_bus *bus = skl_to_bus(skl);
struct hdac_ext_link *hlink = NULL; struct hdac_ext_link *hlink;
int err; int err;
if (IS_ENABLED(CONFIG_SND_SOC_HDAC_HDMI)) { if (IS_ENABLED(CONFIG_SND_SOC_HDAC_HDMI)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment