From: Takashi Iwai <tiwai@suse.de>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hdsp: remove redundant assignment to pointer kctl
Date: Mon, 09 May 2022 10:43:07 +0200 [thread overview]
Message-ID: <s5hh75zm6zo.wl-tiwai@suse.de> (raw)
In-Reply-To: <20220508212819.59188-1-colin.i.king@gmail.com>
On Sun, 08 May 2022 23:28:19 +0200,
Colin Ian King wrote:
>
> Pointer kctl is being assigned a value that is not being read, buf
> is being re-assigned later. The assignment is redundant and can be
> removed.
>
> Cleans up clang scan build warning:
> sound/pci/rme9652/hdsp.c:3317:28: warning: Although the value stored
> to 'kctl' is used in the enclosing expression, the value is never
> actually read from 'kctl' [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Thanks, applied.
Takashi
prev parent reply other threads:[~2022-05-09 8:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-08 21:28 Colin Ian King
2022-05-09 8:43 ` Takashi Iwai [this message]
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=s5hh75zm6zo.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=colin.i.king@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.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
all inboxes | Powered by JetHome®