Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Puneeth Prabhu <puneethx.prabhu@intel.com>
Cc: alsa-devel@alsa-project.org,
	Patches Audio <patches.audio@intel.com>,
	Guneshwor Singh <guneshwor.o.singh@intel.com>,
	Liam Girdwood <liam.r.girdwood@linux.intel.com>,
	Takashi Iwai <tiwai@suse.de>, Mark Brown <broonie@kernel.org>,
	Vinod Koul <vinod.koul@intel.com>
Subject: Applied "ASoC: hdac_hdmi: Remove redundant assignments" to the asoc tree
Date: Wed, 06 Dec 2017 17:49:01 +0000	[thread overview]
Message-ID: <E1eMdob-0004im-Gq@debutante> (raw)
In-Reply-To: <20171206110406.11400-7-guneshwor.o.singh@intel.com>

The patch

   ASoC: hdac_hdmi: Remove redundant assignments

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 45a6008bfcdc3e620dcf1b2330766345097afe9c Mon Sep 17 00:00:00 2001
From: Puneeth Prabhu <puneethx.prabhu@intel.com>
Date: Wed, 6 Dec 2017 16:34:06 +0530
Subject: [PATCH] ASoC: hdac_hdmi: Remove redundant assignments

Assignments for start_nid, end_nid and num_nodes of hdac_device
structure are already done in init.  So, remove the redundant
assignments.

Signed-off-by: Puneeth Prabhu <puneethx.prabhu@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/hdac_hdmi.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c
index b706547c46d5..68a4a6b4e68e 100644
--- a/sound/soc/codecs/hdac_hdmi.c
+++ b/sound/soc/codecs/hdac_hdmi.c
@@ -1465,10 +1465,7 @@ static int hdac_hdmi_parse_and_map_nid(struct hdac_ext_device *edev,
 		return -EINVAL;
 	}
 
-	hdev->num_nodes = num_nodes;
-	hdev->start_nid = nid;
-
-	for (i = 0; i < hdev->num_nodes; i++, nid++) {
+	for (i = 0; i < num_nodes; i++, nid++) {
 		unsigned int caps;
 		unsigned int type;
 
@@ -1494,8 +1491,6 @@ static int hdac_hdmi_parse_and_map_nid(struct hdac_ext_device *edev,
 		}
 	}
 
-	hdev->end_nid = nid;
-
 	if (!hdmi->num_pin || !hdmi->num_cvt) {
 		ret = -EIO;
 		goto free_widgets;
-- 
2.15.0

  reply	other threads:[~2017-12-06 17:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06 11:04 [PATCH v2 0/6] ASoC: Intel: Skylake: Skylake driver updates Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 1/6] ASoC: Intel: Skylake: Remove second shim read in register_poll Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 2/6] ASoC: Intel: Skylake: Parse vendor tokens to build A-State table Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 3/6] ASoC: Intel: Skylake: Configure DSP clock source Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 4/6] ASoC: Intel: Skylake: Do not check dev_type for dmic link type Guneshwor Singh
2017-12-06 17:49   ` Applied "ASoC: Intel: Skylake: Do not check dev_type for dmic link type" to the asoc tree Mark Brown
2017-12-06 11:04 ` [PATCH v2 5/6] ASoC: hdac_hdmi: Refresh sysfs during hdmi device probe Guneshwor Singh
2017-12-06 17:49   ` Applied "ASoC: hdac_hdmi: Refresh sysfs during hdmi device probe" to the asoc tree Mark Brown
2017-12-06 11:04 ` [PATCH v2 6/6] ASoC: hdac_hdmi: Remove redundant assignments Guneshwor Singh
2017-12-06 17:49   ` Mark Brown [this message]
2017-12-06 15:43 ` [PATCH v2 0/6] ASoC: Intel: Skylake: Skylake driver updates Vinod Koul
2017-12-06 17:43 ` Mark Brown
2017-12-07 12:11   ` Singh, Guneshwor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1eMdob-0004im-Gq@debutante \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=guneshwor.o.singh@intel.com \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=patches.audio@intel.com \
    --cc=puneethx.prabhu@intel.com \
    --cc=tiwai@suse.de \
    --cc=vinod.koul@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox