diff options
author | Mike Miller <mike.miller@hp.com> | 2010-04-16 22:28:41 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-05-02 19:02:17 +0400 |
commit | 859e816704b4139d15b1ec6a3505f12faef5333a (patch) | |
tree | 81e538428c200029db6f871492987e48253a91fe /drivers/scsi/hpsa.c | |
parent | 160e7f671344e40b86663a8913e175a3bb5d7f84 (diff) | |
download | linux-859e816704b4139d15b1ec6a3505f12faef5333a.tar.xz |
[SCSI] hpsa: remove unneeded defines
This patch removes unnecessary #define's from hpsa. The SCSI midlayer
handles all this for us.
Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 183d3a43c280..c016426b31b2 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -2708,14 +2708,6 @@ static void fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, c->Request.CDB[8] = (size >> 8) & 0xFF; c->Request.CDB[9] = size & 0xFF; break; - - case HPSA_READ_CAPACITY: - c->Request.CDBLen = 10; - c->Request.Type.Attribute = ATTR_SIMPLE; - c->Request.Type.Direction = XFER_READ; - c->Request.Timeout = 0; - c->Request.CDB[0] = cmd; - break; case HPSA_CACHE_FLUSH: c->Request.CDBLen = 12; c->Request.Type.Attribute = ATTR_SIMPLE; |