Re: [PATCH -next] scsi: csiostor: Remove set but not used variable 'rln'

From: Martin K. Petersen
Date: Tue Nov 12 2019 - 21:30:13 EST



YueHaibing,

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/csiostor/csio_lnode.c: In function 'csio_ln_init':
> drivers/scsi/csiostor/csio_lnode.c:1995:21: warning:
> variable 'rln' set but not used [-Wunused-but-set-variable]
>
> It is never used since introduction, so remove it.

Applied to 5.5/scsi-queue, thanks.

--
Martin K. Petersen Oracle Linux Engineering