summaryrefslogtreecommitdiff
path: root/drivers/message
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-10-31 18:45:38 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-11-08 06:00:52 +0300
commitc7cbaab2d464484008b4f8ed66b6bb0ee99745c2 (patch)
tree37a3e921145c9e9dad5d759249fe6ac144bf55c5 /drivers/message
parente47c49219c1e20760cd66cef4411b35a3a86c0a2 (diff)
downloadlinux-c7cbaab2d464484008b4f8ed66b6bb0ee99745c2.tar.xz
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>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c
index 52c7020c9d19..1decd09a08d8 100644
--- a/drivers/message/fusion/mptctl.c
+++ b/drivers/message/fusion/mptctl.c
@@ -2879,7 +2879,6 @@ static struct mpt_pci_driver mptctl_driver = {
static int __init mptctl_init(void)
{
int err;
- int where = 1;
show_mptmod_ver(my_NAME, my_VERSION);
@@ -2898,7 +2897,6 @@ static int __init mptctl_init(void)
/*
* Install our handler
*/
- ++where;
mptctl_id = mpt_register(mptctl_reply, MPTCTL_DRIVER,
"mptctl_reply");
if (!mptctl_id || mptctl_id >= MPT_MAX_PROTOCOL_DRIVERS) {