diff options
author | Ye Bin <yebin10@huawei.com> | 2020-09-02 14:16:46 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-15 21:25:52 -0400 |
commit | bb1932dbb83abb2036ab3b487c1bb2a758855964 (patch) | |
tree | 48cb4fce919b6eac0bf03a5a8009913733beed21 /drivers/scsi/aacraid/aachba.c | |
parent | 4b29cb6197d92bf3264fdd5c5df0f41b464bb05c (diff) |
scsi: sym53c8xx_2: Delete unnecessary else-if in sym_xerr_cam_status()
If (x_status & XE_PARITY_ERR) is true we set cam_status = DID_PARITY,
othervise cam_status always ends up being DID_ERROR. Delete superfluous
else-if statements.
Link: https://lore.kernel.org/r/20200902061646.576966-1-yebin10@huawei.com
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/aachba.c')
0 files changed, 0 insertions, 0 deletions