commit | 3ff0f0b657eb414c1f8f1f22b91d52b892d8a850 | [log] [tgz] |
---|---|---|
author | Xiaofei Tan <tanxiaofei@huawei.com> | Sat Mar 24 00:05:12 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Apr 18 19:32:51 2018 -0400 |
tree | da908d4f1686ce372acd8e1d97834c40307f9493 | |
parent | 4f4e21b8ff3e706f79e1adb2a475c3f5ee6b57f9 [diff] |
scsi: hisi_sas: consolidate command check in hisi_sas_get_ata_protocol() Currently we check the fis->command value in 2 locations in hisi_sas_get_ata_protocol() switch statement. Fix this by consolidating the check for fis->command value to 1 location only. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>