Re: [PATCH] crypto: chelsio: remove redundant assignments to reqctx and dst_size

2017-11-28 Thread Herbert Xu
On Thu, Nov 09, 2017 at 08:54:13AM +, Colin King wrote: > From: Colin Ian King > > Pointer reqctx is assigned the same value twice, once on initialization > and again a few statements later, remove the second redundant assignment. > Variable dst_size is assigned but it is never read, so the v

[PATCH] crypto: chelsio: remove redundant assignments to reqctx and dst_size

2017-11-09 Thread Colin King
From: Colin Ian King Pointer reqctx is assigned the same value twice, once on initialization and again a few statements later, remove the second redundant assignment. Variable dst_size is assigned but it is never read, so the variable is redundant and can be removed. Cleans up clang warnings: dr