From: Theodore Ts'o <tytso@mit.edu>
To: Colin King <colin.king@canonical.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fscrypt: remove redundant assignment of res
Date: Mon, 6 Feb 2017 23:26:10 -0500 [thread overview]
Message-ID: <20170207042610.xla7opoct6tqnawk@thunk.org> (raw)
In-Reply-To: <20170110165732.21971-1-colin.king@canonical.com>
On Tue, Jan 10, 2017 at 04:57:32PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> res is assigned to sizeof(ctx), however, this is unused and res
> is updated later on without that assigned value to res ever being
> used. Remove this redundant assignment.
>
> Fixes CoverityScan CID#1395546 "Unused value"
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Thanks, applied.
- Ted
prev parent reply other threads:[~2017-02-07 4:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 16:57 [PATCH] fscrypt: remove redundant assignment of res Colin King
2017-02-07 4:26 ` Theodore Ts'o [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=20170207042610.xla7opoct6tqnawk@thunk.org \
--to=tytso@mit.edu \
--cc=colin.king@canonical.com \
--cc=jaegeuk@kernel.org \
--cc=linux-fsdevel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).