From 1c1f9319e7455ae03d0103da5f4bd61a0faef962 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Thu, 12 Jul 2007 17:26:19 +0100 Subject: [PATCH] --- yaml --- r: 59277 b: refs/heads/master c: 79e15ae424afa0a40b1a0c4478046d6ba0b71e20 h: refs/heads/master i: 59275: e7a0c289252fe7cadb5405f1982f3a7ab9c7aa00 v: v3 --- [refs] | 2 +- trunk/drivers/md/dm-bio-list.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 11d27a4f89f8..cbfda7088939 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4aabab2181f20560948c2045ce1faaa9ac1507a8 +refs/heads/master: 79e15ae424afa0a40b1a0c4478046d6ba0b71e20 diff --git a/trunk/drivers/md/dm-bio-list.h b/trunk/drivers/md/dm-bio-list.h index c6be88826fae..16ee3b018b3a 100644 --- a/trunk/drivers/md/dm-bio-list.h +++ b/trunk/drivers/md/dm-bio-list.h @@ -8,7 +8,6 @@ #define DM_BIO_LIST_H #include -#include struct bio_list { struct bio *head; @@ -31,8 +30,7 @@ static inline void bio_list_init(struct bio_list *bl) } #define bio_list_for_each(bio, bl) \ - for (bio = (bl)->head; bio && ({ prefetch(bio->bi_next); 1; }); \ - bio = bio->bi_next) + for (bio = (bl)->head; bio; bio = bio->bi_next) static inline unsigned bio_list_size(const struct bio_list *bl) {