Loading drivers/md/dm-bio-list.h +1 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ #define DM_BIO_LIST_H #include <linux/bio.h> #include <linux/prefetch.h> struct bio_list { struct bio *head; Loading @@ -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) { Loading Loading
drivers/md/dm-bio-list.h +1 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ #define DM_BIO_LIST_H #include <linux/bio.h> #include <linux/prefetch.h> struct bio_list { struct bio *head; Loading @@ -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) { Loading