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/isci.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/isci.h')
-rw-r--r-- | drivers/scsi/isci/isci.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/isci/isci.h b/drivers/scsi/isci/isci.h index 3afccfcb94e1..d1de63312e7f 100644 --- a/drivers/scsi/isci/isci.h +++ b/drivers/scsi/isci/isci.h | |||
@@ -73,11 +73,6 @@ | |||
73 | 73 | ||
74 | #define SCI_CONTROLLER_INVALID_IO_TAG 0xFFFF | 74 | #define SCI_CONTROLLER_INVALID_IO_TAG 0xFFFF |
75 | 75 | ||
76 | enum sci_controller_mode { | ||
77 | SCI_MODE_SPEED, | ||
78 | SCI_MODE_SIZE /* deprecated */ | ||
79 | }; | ||
80 | |||
81 | #define SCI_MAX_PHYS (4UL) | 76 | #define SCI_MAX_PHYS (4UL) |
82 | #define SCI_MAX_PORTS SCI_MAX_PHYS | 77 | #define SCI_MAX_PORTS SCI_MAX_PHYS |
83 | #define SCI_MAX_SMP_PHYS (384) /* not silicon constrained */ | 78 | #define SCI_MAX_SMP_PHYS (384) /* not silicon constrained */ |