summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-bio-list.h
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2007-10-19 23:38:55 +0200
committerAlasdair G Kergon <agk@redhat.com>2007-10-20 03:01:11 +0200
commit051814c69fac92f1964739c0cf08b5e3b1156b04 (patch)
tree5a279c06d13f5d953119d89bdcbd9b5f616c8a00 /drivers/md/dm-bio-list.h
parentdm io:ctl remove vmalloc void cast (diff)
downloadlinux-051814c69fac92f1964739c0cf08b5e3b1156b04.tar.xz
linux-051814c69fac92f1964739c0cf08b5e3b1156b04.zip
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 <jengelh@linux01.gwdg.de> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-bio-list.h')
-rw-r--r--drivers/md/dm-bio-list.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/dm-bio-list.h b/drivers/md/dm-bio-list.h
index 3f7b827649e3..d4509be0fe67 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;