Commit 2c8919dee659928d66cc13333d4e7a5bdd2206d5

Authored by Andi Kleen
Committed by Jens Axboe
1 parent 66ac028019

gcc-4.6: block: fix unused but set variables in blk-merge

Just some dead code.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

... ... @@ -12,7 +12,6 @@
12 12 static unsigned int __blk_recalc_rq_segments(struct request_queue *q,
13 13 struct bio *bio)
14 14 {
15   - unsigned int phys_size;
16 15 struct bio_vec *bv, *bvprv = NULL;
17 16 int cluster, i, high, highprv = 1;
18 17 unsigned int seg_size, nr_phys_segs;
... ... @@ -24,7 +23,7 @@
24 23 fbio = bio;
25 24 cluster = test_bit(QUEUE_FLAG_CLUSTER, &q->queue_flags);
26 25 seg_size = 0;
27   - phys_size = nr_phys_segs = 0;
  26 + nr_phys_segs = 0;
28 27 for_each_bio(bio) {
29 28 bio_for_each_segment(bv, bio, i) {
30 29 /*