From: Pete Zaitcev Date: Mon, 4 Aug 2008 23:15:40 +0000 (-0600) Subject: ub: remove sg_stat X-Git-Tag: v2.6.28-rc1~254^2~85 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7dbcbe88b1495f778f56c742391e49f580dc101a;p=linux-2.6-omap-h63xx.git ub: remove sg_stat Remove forgotten code related to sg_stat[]. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 3a281ef11ff..f60e41833f6 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);