From 051814c69fac92f1964739c0cf08b5e3b1156b04 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Fri, 19 Oct 2007 22:38:55 +0100 Subject: dm: bio_list macro renaming Remove BIO_LIST and DEFINE_BIO_LIST macros that gain us nothing since contents are initialised to NULL. Cc: Jan Engelhardt Signed-off-by: Alasdair G Kergon --- drivers/md/dm-bio-list.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/md/dm-bio-list.h') diff --git a/drivers/md/dm-bio-list.h b/drivers/md/dm-bio-list.h index 3f7b827649e..d4509be0fe6 100644 --- a/drivers/md/dm-bio-list.h +++ b/drivers/md/dm-bio-list.h @@ -21,11 +21,6 @@ static inline int bio_list_empty(const struct bio_list *bl) return bl->head == NULL; } -#define BIO_LIST_INIT { .head = NULL, .tail = NULL } - -#define BIO_LIST(bl) \ - struct bio_list bl = BIO_LIST_INIT - static inline void bio_list_init(struct bio_list *bl) { bl->head = bl->tail = NULL; -- cgit v1.2.3