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)
commitdc0bfdb563c866a3c86b553ea54a1eb74f56c22e
tree33d9ef769844e248e98949e04bc9be9135a7ab33
parentb6cacaf2044fd9b82e5ceac88d8d17e04a01982f
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