Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727282 > unrolled thread

[PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE

Started byJason Yan <yanaijie@huawei.com>
First post2017-09-06 11:20 +0200
Last post2017-09-06 15:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE Jason Yan <yanaijie@huawei.com> - 2017-09-06 11:20 +0200
    Re: [PATCH v4 03/11] libsas: remove unused port_gone_completion and  DISCE_PORT_GONE Johannes Thumshirn <jthumshirn@suse.de> - 2017-09-06 14:50 +0200
    Re: [PATCH v4 03/11] libsas: remove unused port_gone_completion         and DISCE_PORT_GONE Christoph Hellwig <hch@lst.de> - 2017-09-06 15:30 +0200

#1727282 — [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE

FromJason Yan <yanaijie@huawei.com>
Date2017-09-06 11:20 +0200
Subject[PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE
Message-ID<umEF5-81v-37@gated-at.bofh.it>
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: Jason 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>
---
 include/scsi/libsas.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index ccf3b48..99f32b5 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -81,7 +81,6 @@ enum phy_event {
 enum discover_event {
 	DISCE_DISCOVER_DOMAIN   = 0U,
 	DISCE_REVALIDATE_DOMAIN,
-	DISCE_PORT_GONE,
 	DISCE_PROBE,
 	DISCE_SUSPEND,
 	DISCE_RESUME,
@@ -256,8 +255,6 @@ struct sas_discovery {
 /* The port struct is Class:RW, driver:RO */
 struct asd_sas_port {
 /* private: */
-	struct completion port_gone_completion;
-
 	struct sas_discovery disc;
 	struct domain_device *port_dev;
 	spinlock_t dev_list_lock;
-- 
2.5.0

[toc] | [next] | [standalone]


#1727413 — Re: [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE

FromJohannes Thumshirn <jthumshirn@suse.de>
Date2017-09-06 14:50 +0200
SubjectRe: [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE
Message-ID<umHWi-1Qd-21@gated-at.bofh.it>
In reply to#1727282
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

[toc] | [prev] | [next] | [standalone]


#1727455 — Re: [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE

FromChristoph Hellwig <hch@lst.de>
Date2017-09-06 15:30 +0200
SubjectRe: [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE
Message-ID<umIz2-2mH-25@gated-at.bofh.it>
In reply to#1727282
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web