summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2008-08-04 17:15:40 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:40:52 -0700
commit7dbcbe88b1495f778f56c742391e49f580dc101a (patch)
tree5a8d6485846854045ba1ebc3d89b7c479e8a3570
parent6a2839bedc1502b3f0366cc3ad1099a1d92cf8fb (diff)
downloadop-kernel-dev-7dbcbe88b1495f778f56c742391e49f580dc101a.zip
op-kernel-dev-7dbcbe88b1495f778f56c742391e49f580dc101a.tar.gz
ub: remove sg_stat
Remove forgotten code related to sg_stat[]. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/block/ub.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c
index 3a281ef..f60e418 100644
--- a/drivers/block/ub.c
+++ b/drivers/block/ub.c
@@ -349,8 +349,6 @@ struct ub_dev {
struct work_struct reset_work;
wait_queue_head_t reset_wait;
-
- int sg_stat[6];
};
/*
@@ -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);
OpenPOWER on IntegriCloud