lkml.org 
[lkml]   [2020]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: 53c700: Remove set but not used variable
Date
On Fri, 18 Sep 2020 15:14:22 +0800, Zheng Yongjun wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/53c700.c: In function NCR_700_intr:
> drivers/scsi/53c700.c:1488:27: warning: variable ‘state’ set but not used [-Wunused-but-set-variable]
>
> drivers/scsi/53c700.c: In function NCR_700_queuecommand_lck:
> drivers/scsi/53c700.c:1742:26: warning: variable ‘direction’ set but not used [-Wunused-but-set-variable]
>
> [...]

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: 53c700: Remove set but not used variable
https://git.kernel.org/mkp/scsi/c/ffab5e016b9b

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2020-10-14 00:45    [W:0.047 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site