scsi: libsas: kill useless ha_event and do some cleanup
authorJason Yan <yanaijie@huawei.com>
Wed, 6 Sep 2017 09:15:04 +0000 (17:15 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 16 Sep 2017 01:32:58 +0000 (21:32 -0400)
commit042ebd293b862c491e31aea17b540317a1b9af21
tree2a0262b8f9e61a8512069f365950434bc5629eb8
parent7eccdf005b2f240b9e9f53c72eb19367e21a8cf8
scsi: libsas: kill useless ha_event and do some cleanup

The ha_event now has only one event HAE_RESET, and this event does
nothing. Kill it and do some cleanup.

This is a preparation for enhance libsas hotplug feature in the next
patches.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
CC: Johannes Thumshirn <jthumshirn@suse.de>
CC: Ewan Milne <emilne@redhat.com>
CC: Christoph Hellwig <hch@lst.de>
CC: Tomas Henzl <thenzl@redhat.com>
CC: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic94xx/aic94xx_hwi.c
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/libsas/sas_dump.c
drivers/scsi/libsas/sas_dump.h
drivers/scsi/libsas/sas_event.c
drivers/scsi/libsas/sas_init.c
include/scsi/libsas.h