Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29437
b: refs/heads/master
c: a9764c2
h: refs/heads/master
i:
  29435: cf62441
v: v3
  • Loading branch information
Tejun Heo committed May 15, 2006
1 parent 12de230 commit ecebdce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 979db803b8fd120d4ed5216520e9d1815e18bc38
refs/heads/master: a9764c2bb5b6d3c9df91f2977a2a640f55de0dc2
5 changes: 1 addition & 4 deletions trunk/drivers/scsi/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ struct ahci_port_priv {
dma_addr_t cmd_slot_dma;
void *cmd_tbl;
dma_addr_t cmd_tbl_dma;
struct ahci_sg *cmd_tbl_sg;
void *rx_fis;
dma_addr_t rx_fis_dma;
};
Expand Down Expand Up @@ -402,8 +401,6 @@ static int ahci_port_start(struct ata_port *ap)
pp->cmd_tbl = mem;
pp->cmd_tbl_dma = mem_dma;

pp->cmd_tbl_sg = mem + AHCI_CMD_TBL_HDR_SZ;

ap->private_data = pp;

if (hpriv->cap & HOST_CAP_64)
Expand Down Expand Up @@ -749,7 +746,7 @@ static unsigned int ahci_fill_sg(struct ata_queued_cmd *qc)
/*
* Next, the S/G list.
*/
ahci_sg = pp->cmd_tbl_sg;
ahci_sg = pp->cmd_tbl + AHCI_CMD_TBL_HDR_SZ;
ata_for_each_sg(sg, qc) {
dma_addr_t addr = sg_dma_address(sg);
u32 sg_len = sg_dma_len(sg);
Expand Down

0 comments on commit ecebdce

Please sign in to comment.