Re: [PATCH] scsi: qla2xxx: Use a variable instead of repeated computations
From: Deepak R Varma
Date: Wed Jan 25 2023 - 12:23:51 EST
On Wed, Jan 25, 2023 at 10:17:54PM +0530, Deepak R Varma wrote:
> Use a variable to upfront compute memory size to be allocated, instead
> of repeatedly computing it at different instructions. The reduced
> length of lines also allows to tidy up the code.
> Issue identified using the array_size_dup Coccinelle semantic patch.
>
> Signed-off-by: Deepak R Varma <drv@xxxxxxxxx>
> ---
Please ignore this duplicate patch. I got this from a wrong/old branch. My
apologies for the inconvenience.
./drv