Re: [PATCH] fscrypt: remove redundant assignment of res

From: Theodore Ts'o
Date: Mon Feb 06 2017 - 23:26:18 EST


On Tue, Jan 10, 2017 at 04:57:32PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Thanks, applied.

- Ted