Re: [PATCH][next] scsi: dc395x: remove unused variable fact

"Martin K. Petersen" <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-scsi
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.