From: David Miller <davem@redhat.com>
To: colin.king@canonical.com
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com,
tanhuazhong@huawei.com, liuzhongzhu@huawei.com,
netdev@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] net: hns3: remove redundant assignment to pointer reg_info
Date: Sun, 01 Sep 2019 19:12:32 +0000 [thread overview]
Message-ID: <20190901.121232.2071064498490409022.davem@redhat.com> (raw)
In-Reply-To: <20190831072949.7505-1-colin.king@canonical.com>
From: Colin King <colin.king@canonical.com>
Date: Sat, 31 Aug 2019 08:29:49 +0100
> From: Colin Ian King <colin.king@canonical.com>
>
> Pointer reg_info is being initialized with a value that is never read and
> is being re-assigned a little later on. The assignment is redundant
> and hence can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied.
next prev parent reply other threads:[~2019-09-01 19:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-31 7:29 [PATCH][next] net: hns3: remove redundant assignment to pointer reg_info Colin King
2019-09-01 19:12 ` David Miller [this message]
2021-02-03 13:10 ` [PATCH][next] net: hns3: remove redundant null check of an array Colin King
2021-02-03 23:24 ` Jesse Brandeburg
2021-02-05 3:00 ` patchwork-bot+netdevbpf
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=20190901.121232.2071064498490409022.davem@redhat.com \
--to=davem@redhat.com \
--cc=colin.king@canonical.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liuzhongzhu@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=tanhuazhong@huawei.com \
--cc=yisen.zhuang@huawei.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