projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d896f3f
)
[SCSI] hpsa: Remove duplicate defines of DIRECT_LOOKUP_ constants
author
Stephen M. Cameron
<StephenM.Cameron>
Thu, 6 Jan 2011 20:47:58 +0000
(14:47 -0600)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:29:19 +0000
(11:29 -0600)
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>
drivers/scsi/hpsa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/hpsa.c
b/drivers/scsi/hpsa.c
index e2089a3b50616fc0a072e3ef1566dfe999f2c9af..b345cc4769408bdae62aa696106042ab43089afc 100644
(file)
--- 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)
static inline u32 hpsa_tag_contains_index(u32 tag)
{
-#define DIRECT_LOOKUP_BIT 0x10
return tag & DIRECT_LOOKUP_BIT;
}
static inline u32 hpsa_tag_to_index(u32 tag)
{
-#define DIRECT_LOOKUP_SHIFT 5
return tag >> DIRECT_LOOKUP_SHIFT;
}