alloc_io() cannot fail, so stop checking the return value. --- diff/drivers/md/dm.c 2003-06-17 10:06:56.000000000 +0100 +++ source/drivers/md/dm.c 2003-06-17 10:07:01.000000000 +0100 @@ -424,9 +424,6 @@ } io = alloc_io(md); - if (!io) - return -ENOMEM; - down_read(&md->lock); r = __deferring(md, rw, bh);