From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 6 Feb 2017 23:26:10 -0500 From: Theodore Ts'o To: Colin King Cc: Jaegeuk Kim , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fscrypt: remove redundant assignment of res Message-ID: <20170207042610.xla7opoct6tqnawk@thunk.org> References: <20170110165732.21971-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170110165732.21971-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Tue, Jan 10, 2017 at 04:57:32PM +0000, Colin King wrote: > From: Colin Ian King > > 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 Thanks, applied. - Ted