From: Tejun Heo <tj@kernel.org>
To: Colin King <colin.king@canonical.com>
Cc: linux-ide@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ata: sata_mv: remove a redundant assignment to pointer ehi
Date: Sat, 21 Oct 2017 16:25:57 +0000 [thread overview]
Message-ID: <20171021162557.GS1302522@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <20171016110011.11048-1-colin.king@canonical.com>
On Mon, Oct 16, 2017 at 12:00:11PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The pointer ehi is being assigned to a value that is never read
> and is redundant. Clean up the code and move the ehi declaration
> and initialization to the code block where it is used. Cleans up
> clang warning: Value stored to 'ehi' is never read
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied to libata/for-4.15.
Thanks.
--
tejun
WARNING: multiple messages have this Message-ID (diff)
From: Tejun Heo <tj@kernel.org>
To: Colin King <colin.king@canonical.com>
Cc: linux-ide@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ata: sata_mv: remove a redundant assignment to pointer ehi
Date: Sat, 21 Oct 2017 09:25:57 -0700 [thread overview]
Message-ID: <20171021162557.GS1302522@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <20171016110011.11048-1-colin.king@canonical.com>
On Mon, Oct 16, 2017 at 12:00:11PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The pointer ehi is being assigned to a value that is never read
> and is redundant. Clean up the code and move the ehi declaration
> and initialization to the code block where it is used. Cleans up
> clang warning: Value stored to 'ehi' is never read
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied to libata/for-4.15.
Thanks.
--
tejun
next prev parent reply other threads:[~2017-10-21 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-16 11:00 [PATCH] ata: sata_mv: remove a redundant assignment to pointer ehi Colin King
2017-10-16 11:00 ` Colin King
2017-10-21 16:25 ` Tejun Heo [this message]
2017-10-21 16:25 ` Tejun Heo
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=20171021162557.GS1302522@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=colin.king@canonical.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.