Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114592
b: refs/heads/master
c: 0bb0810
h: refs/heads/master
v: v3
  • Loading branch information
Johann Felix Soden authored and Benjamin Herrenschmidt committed Oct 7, 2008
1 parent b38f4df commit c5d7bfc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 94576b22ce1ad346cb09f05bf4f06be33e0eef49
refs/heads/master: 0bb08107edb3d38b89be8fb623b46df73f2aa8c8
3 changes: 0 additions & 3 deletions trunk/drivers/block/viodasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ static int send_request(struct request *req)
struct HvLpEvent *hev;
struct scatterlist sg[VIOMAXBLOCKDMA];
int sgindex;
int statindex;
struct viodasd_device *d;
unsigned long flags;

Expand All @@ -258,11 +257,9 @@ static int send_request(struct request *req)
if (rq_data_dir(req) == READ) {
direction = DMA_FROM_DEVICE;
viocmd = viomajorsubtype_blockio | vioblockread;
statindex = 0;
} else {
direction = DMA_TO_DEVICE;
viocmd = viomajorsubtype_blockio | vioblockwrite;
statindex = 1;
}

d = req->rq_disk->private_data;
Expand Down

0 comments on commit c5d7bfc

Please sign in to comment.