alloc_io() cannot fail, so stop checking the return value. --- diff/drivers/md/dm.c 2003-01-10 11:49:27.000000000 +0000 +++ source/drivers/md/dm.c 2003-01-16 11:15:19.000000000 +0000 @@ -424,9 +424,6 @@ } io = alloc_io(md); - if (!io) - return -ENOMEM; - down_read(&md->lock); r = __deferring(md, rw, bh);