Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: message: fusion: Remove variable 'where'

Variable 'where' is just being incremented and it's never used
anywhere else. Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20221031154538.870223-1-colin.i.king@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Colin Ian King and committed by
Martin K. Petersen
c7cbaab2 e47c4921

-2
-2
drivers/message/fusion/mptctl.c
··· 2879 2879 static int __init mptctl_init(void) 2880 2880 { 2881 2881 int err; 2882 - int where = 1; 2883 2882 2884 2883 show_mptmod_ver(my_NAME, my_VERSION); 2885 2884 ··· 2897 2898 /* 2898 2899 * Install our handler 2899 2900 */ 2900 - ++where; 2901 2901 mptctl_id = mpt_register(mptctl_reply, MPTCTL_DRIVER, 2902 2902 "mptctl_reply"); 2903 2903 if (!mptctl_id || mptctl_id >= MPT_MAX_PROTOCOL_DRIVERS) {