Commit 8a11282a authored by Jason Yan's avatar Jason Yan Committed by Martin K. Petersen

scsi: libsas: remove unused port_gone_completion and DISCE_PORT_GONE

No one uses the port_gone_completion in struct asd_sas_port and
DISCE_PORT_GONE in enum disover_event, clean them out.
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
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>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0d78f969
...@@ -81,7 +81,6 @@ enum phy_event { ...@@ -81,7 +81,6 @@ enum phy_event {
enum discover_event { enum discover_event {
DISCE_DISCOVER_DOMAIN = 0U, DISCE_DISCOVER_DOMAIN = 0U,
DISCE_REVALIDATE_DOMAIN, DISCE_REVALIDATE_DOMAIN,
DISCE_PORT_GONE,
DISCE_PROBE, DISCE_PROBE,
DISCE_SUSPEND, DISCE_SUSPEND,
DISCE_RESUME, DISCE_RESUME,
...@@ -256,8 +255,6 @@ struct sas_discovery { ...@@ -256,8 +255,6 @@ struct sas_discovery {
/* The port struct is Class:RW, driver:RO */ /* The port struct is Class:RW, driver:RO */
struct asd_sas_port { struct asd_sas_port {
/* private: */ /* private: */
struct completion port_gone_completion;
struct sas_discovery disc; struct sas_discovery disc;
struct domain_device *port_dev; struct domain_device *port_dev;
spinlock_t dev_list_lock; spinlock_t dev_list_lock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment