diff options
| author | Xiaofei Tan <tanxiaofei@huawei.com> | 2018-03-24 00:05:12 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-18 19:32:51 -0400 |
| commit | 3ff0f0b657eb414c1f8f1f22b91d52b892d8a850 (patch) | |
| tree | da908d4f1686ce372acd8e1d97834c40307f9493 /include/linux | |
| 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
