projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a2839b
)
ub: remove sg_stat
author
Pete Zaitcev
<zaitcev@redhat.com>
Mon, 4 Aug 2008 23:15:40 +0000
(17:15 -0600)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Oct 2008 21:40:52 +0000
(14:40 -0700)
Remove forgotten code related to sg_stat[].
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/ub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/ub.c
b/drivers/block/ub.c
index 3a281ef11ffa9a96543358dc91c817805eedc981..f60e41833f6996e43fc6f2e68a3e25b8c189ca4c 100644
(file)
--- 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);