Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79550
b: refs/heads/master
c: 9bf7225
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Jan 29, 2008
1 parent 3aa8985 commit 662f812
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0ba6c33bcddc64a54b5f1c25a696c4767dc76292
refs/heads/master: 9bf722598fcd51073974850ae026b44389430ecc
6 changes: 2 additions & 4 deletions trunk/drivers/block/xsysace.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ static void ace_fsm_dostate(struct ace_device *ace)
u32 status;
u16 val;
int count;
int i;

#if defined(DEBUG)
dev_dbg(ace->dev, "fsm_state=%i, id_req_count=%i\n",
Expand Down Expand Up @@ -688,7 +687,6 @@ static void ace_fsm_dostate(struct ace_device *ace)
}

/* Transfer the next buffer */
i = 16;
if (ace->fsm_task == ACE_TASK_WRITE)
ace->reg_ops->dataout(ace);
else
Expand All @@ -702,8 +700,8 @@ static void ace_fsm_dostate(struct ace_device *ace)
}

/* bio finished; is there another one? */
i = ace->req->current_nr_sectors;
if (__blk_end_request(ace->req, 0, i)) {
if (__blk_end_request(ace->req, 0,
blk_rq_cur_bytes(ace->req))) {
/* dev_dbg(ace->dev, "next block; h=%li c=%i\n",
* ace->req->hard_nr_sectors,
* ace->req->current_nr_sectors);
Expand Down

0 comments on commit 662f812

Please sign in to comment.