]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: isci: Remove the unneeded variable "status"
authorYANG LI <abaci-bugfix@linux.alibaba.com>
Wed, 30 Dec 2020 07:04:20 +0000 (15:04 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jan 2021 04:34:06 +0000 (23:34 -0500)
commitdb54617a77aa371a1166437f35bfb610bb3c9e36
tree33d9ef769844e248e98949e04bc9be9135a7ab33
parent343be401c4699f80d8a4e200650453c41c801bb6
scsi: isci: Remove the unneeded variable "status"

The variable 'status' is being initialized with SCI_SUCCESS and never
updated later with a new value. The initialization is redundant and can be
removed.

Link: https://lore.kernel.org/r/1609311860-102820-1-git-send-email-abaci-bugfix@linux.alibaba.com
Reported-by: Abaci <abaci@linux.alibaba.com>
Signed-off-by: YANG LI <abaci-bugfix@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/isci/request.c