]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: hisi_sas: remove init_id_frame_v1_hw()
authorJohn Garry <john.garry@huawei.com>
Tue, 6 Sep 2016 15:36:23 +0000 (23:36 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Sep 2016 16:54:18 +0000 (12:54 -0400)
commit8583d3b5b09f08a5b970489cc34a268f500a4a3d
tree3e3b23480ebc7291bbf6a714e60d435a7ef350bf
parent514f16e36b8cb7852fc388faeaccea125884a3cd
scsi: hisi_sas: remove init_id_frame_v1_hw()

Function config_id_frame_v1_hw() is called twice for each PHY during
initialisation, which is unneeded.

So remove init_id_frame_v1_hw(), which only calls
config_id_frame_v1_hw().

We will keep the call to config_id_frame_v1_hw() in start_phy_v1_hw()
since it will be used for PHY reset functions.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c