diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-07-01 05:25:15 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:52 -0400 |
commit | 34a991587a5cc9f78960c2c9beea217866458c41 (patch) | |
tree | 824bfb5d50705223339e2bd3369ae3194f2eece3 /drivers/scsi/isci/remote_node_context.h | |
parent | 89a7301f21fb00e753089671eb9e4132aab8ea08 (diff) |
isci: kill 'get/set' macros
Most of these simple dereference macros are longer than their open coded
equivalent. Deleting enum sci_controller_mode is thrown in for good
measure.
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/remote_node_context.h')
-rw-r--r-- | drivers/scsi/isci/remote_node_context.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/isci/remote_node_context.h b/drivers/scsi/isci/remote_node_context.h index b475c5c26642..41580ad12520 100644 --- a/drivers/scsi/isci/remote_node_context.h +++ b/drivers/scsi/isci/remote_node_context.h | |||
@@ -204,9 +204,6 @@ void sci_remote_node_context_construct(struct sci_remote_node_context *rnc, | |||
204 | bool sci_remote_node_context_is_ready( | 204 | bool sci_remote_node_context_is_ready( |
205 | struct sci_remote_node_context *sci_rnc); | 205 | struct sci_remote_node_context *sci_rnc); |
206 | 206 | ||
207 | #define sci_remote_node_context_get_remote_node_index(rcn) \ | ||
208 | ((rnc)->remote_node_index) | ||
209 | |||
210 | enum sci_status sci_remote_node_context_event_handler(struct sci_remote_node_context *sci_rnc, | 207 | enum sci_status sci_remote_node_context_event_handler(struct sci_remote_node_context *sci_rnc, |
211 | u32 event_code); | 208 | u32 event_code); |
212 | enum sci_status sci_remote_node_context_destruct(struct sci_remote_node_context *sci_rnc, | 209 | enum sci_status sci_remote_node_context_destruct(struct sci_remote_node_context *sci_rnc, |