From: Stephen Hemminger <stephen@networkplumber.org>
To: Colin King <colin.king@canonical.com>
Cc: "K . Y . Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Stephen Hemminger <sthemmin@microsoft.com>,
devel@linuxdriverproject.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: hv: balloon: remove extraneous assignment to region_start
Date: Fri, 10 Nov 2017 13:57:19 +0900 [thread overview]
Message-ID: <20171110135719.4b6d0ae7@shemminger-XPS-13-9360> (raw)
In-Reply-To: <20171018115212.29111-1-colin.king@canonical.com>
On Wed, 18 Oct 2017 12:52:12 +0100
Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The variable region_start is assigned twice, the first value is
> never read and redundant, so can be removed. We can clean up the
> code further by assigning rg_start directly rather than using the
> temporary variable region_start which can then be removed. Cleans
> up the clang warning:
>
> drivers/hv/hv_balloon.c:976:3: warning: Value stored to 'region_start'
> is never read
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
LGTM
Acked-by: Stephen Hemminger <sthemmin@microsoft.com>
prev parent reply other threads:[~2017-11-10 4:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 11:52 Colin King
2017-11-10 4:57 ` Stephen Hemminger [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=20171110135719.4b6d0ae7@shemminger-XPS-13-9360 \
--to=stephen@networkplumber.org \
--cc=colin.king@canonical.com \
--cc=devel@linuxdriverproject.org \
--cc=haiyangz@microsoft.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sthemmin@microsoft.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®