lkml.org 
[lkml]   [2023]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: scsi_transport_fc: remove unused desc_cnt variable
Date
On Sat, 25 Mar 2023 20:32:22 -0400, Tom Rix wrote:

> clang with W=1 reports
> drivers/scsi/scsi_transport_fc.c:908:6: error: variable
> 'desc_cnt' set but not used [-Werror,-Wunused-but-set-variable]
> u32 desc_cnt = 0, bytes_remain;
> ^
> This variable is not used so remove it.
>
> [...]

Applied to 6.4/scsi-queue, thanks!

[1/1] scsi: scsi_transport_fc: remove unused desc_cnt variable
https://git.kernel.org/mkp/scsi/c/e324dd00fd17

--
Martin K. Petersen Oracle Linux Engineering

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