diff options
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, | |||
2708 | c->Request.CDB[8] = (size >> 8) & 0xFF; | 2708 | c->Request.CDB[8] = (size >> 8) & 0xFF; |
2709 | c->Request.CDB[9] = size & 0xFF; | 2709 | c->Request.CDB[9] = size & 0xFF; |
2710 | break; | 2710 | break; |
2711 | |||
2712 | case HPSA_READ_CAPACITY: | ||
2713 | c->Request.CDBLen = 10; | ||
2714 | c->Request.Type.Attribute = ATTR_SIMPLE; | ||
2715 | c->Request.Type.Direction = XFER_READ; | ||
2716 | c->Request.Timeout = 0; | ||
2717 | c->Request.CDB[0] = cmd; | ||
2718 | break; | ||
2719 | case HPSA_CACHE_FLUSH: | 2711 | case HPSA_CACHE_FLUSH: |
2720 | c->Request.CDBLen = 12; | 2712 | c->Request.CDBLen = 12; |
2721 | c->Request.Type.Attribute = ATTR_SIMPLE; | 2713 | c->Request.Type.Attribute = ATTR_SIMPLE; |