Re: [PATCH][next] scsi: dc395x: remove unused variable fact
"Martin K. Petersen" <[email protected]> Thu, 6 Aug 2026 15:06:06 -0400
| Newsgroups | gmane.linux.scsi,gmane.linux.kernel.janitors,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 14 Jul 2026 08:35:10 +0100, Colin Ian King wrote:
> The variable fact was used for debug but this was removed
> in commit 62b434b0db2c ("scsi: dc395x: Remove DEBUG conditional
> compilation"). The variable is now redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/scsi/dc395x.c: In function ‘msgin_set_sync’:
> drivers/scsi/dc395x.c:2185:13: warning: variable ‘fact’ set but not used [-Wunused-but-set-variable]
> 2185 | int fact;
>
> [...]
Applied to 7.3/scsi-queue, thanks!
[1/1] scsi: dc395x: remove unused variable fact
https://git.kernel.org/mkp/scsi/c/9b61402740eb
--
Martin K. Petersen