diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/ub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 3a281ef11ffa..f60e41833f69 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -349,8 +349,6 @@ struct ub_dev { | |||
349 | 349 | ||
350 | struct work_struct reset_work; | 350 | struct work_struct reset_work; |
351 | wait_queue_head_t reset_wait; | 351 | wait_queue_head_t reset_wait; |
352 | |||
353 | int sg_stat[6]; | ||
354 | }; | 352 | }; |
355 | 353 | ||
356 | /* | 354 | /* |
@@ -685,7 +683,6 @@ static int ub_request_fn_1(struct ub_lun *lun, struct request *rq) | |||
685 | goto drop; | 683 | goto drop; |
686 | } | 684 | } |
687 | urq->nsg = n_elem; | 685 | urq->nsg = n_elem; |
688 | sc->sg_stat[n_elem < 5 ? n_elem : 5]++; | ||
689 | 686 | ||
690 | if (blk_pc_request(rq)) { | 687 | if (blk_pc_request(rq)) { |
691 | ub_cmd_build_packet(sc, lun, cmd, urq); | 688 | ub_cmd_build_packet(sc, lun, cmd, urq); |