lkml.org 
[lkml]   [2023]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: snic: remove unused xfer_len variable
Date
On Mon, 27 Mar 2023 20:16:47 -0400, Tom Rix wrote:

> clang with W=1 reports
> drivers/scsi/snic/snic_scsi.c:490:6: error: variable
> 'xfer_len' set but not used [-Werror,-Wunused-but-set-variable]
> u64 xfer_len = 0;
> ^
> This variable is not used so remove it.
>
> [...]

Applied to 6.4/scsi-queue, thanks!

[1/1] scsi: snic: remove unused xfer_len variable
https://git.kernel.org/mkp/scsi/c/4e0966a48291

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2023-04-12 04:05    [W:1.958 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site