Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115742
b: refs/heads/master
c: 7dbcbe8
h: refs/heads/master
v: v3
  • Loading branch information
Pete Zaitcev authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 9c0798a commit d4d77c3
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: 6a2839bedc1502b3f0366cc3ad1099a1d92cf8fb
refs/heads/master: 7dbcbe88b1495f778f56c742391e49f580dc101a
3 changes: 0 additions & 3 deletions trunk/drivers/block/ub.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@ struct ub_dev {

struct work_struct reset_work;
wait_queue_head_t reset_wait;

int sg_stat[6];
};

/*
Expand Down Expand Up @@ -685,7 +683,6 @@ static int ub_request_fn_1(struct ub_lun *lun, struct request *rq)
goto drop;
}
urq->nsg = n_elem;
sc->sg_stat[n_elem < 5 ? n_elem : 5]++;

if (blk_pc_request(rq)) {
ub_cmd_build_packet(sc, lun, cmd, urq);
Expand Down

0 comments on commit d4d77c3

Please sign in to comment.