diff options
author | Stephen M. Cameron <StephenM.Cameron> | 2011-01-06 15:47:58 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 12:29:19 -0500 |
commit | 922a9e4da34270d81e216728f929c6e11e169794 (patch) | |
tree | 5ab2b36ab57c266e6de932b9f6d976356b7157c3 /drivers | |
parent | d896f3f3d129f1e2fbb4e3824242bc0dc2fb1a07 (diff) |
[SCSI] hpsa: Remove duplicate defines of DIRECT_LOOKUP_ constants
They are defined in hpsa_cmd.h
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index e2089a3b5061..b345cc476940 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -2863,13 +2863,11 @@ static inline void finish_cmd(struct CommandList *c, u32 raw_tag) | |||
2863 | 2863 | ||
2864 | static inline u32 hpsa_tag_contains_index(u32 tag) | 2864 | static inline u32 hpsa_tag_contains_index(u32 tag) |
2865 | { | 2865 | { |
2866 | #define DIRECT_LOOKUP_BIT 0x10 | ||
2867 | return tag & DIRECT_LOOKUP_BIT; | 2866 | return tag & DIRECT_LOOKUP_BIT; |
2868 | } | 2867 | } |
2869 | 2868 | ||
2870 | static inline u32 hpsa_tag_to_index(u32 tag) | 2869 | static inline u32 hpsa_tag_to_index(u32 tag) |
2871 | { | 2870 | { |
2872 | #define DIRECT_LOOKUP_SHIFT 5 | ||
2873 | return tag >> DIRECT_LOOKUP_SHIFT; | 2871 | return tag >> DIRECT_LOOKUP_SHIFT; |
2874 | } | 2872 | } |
2875 | 2873 | ||