[PATCH 20/30] nullb: use blk_mq_alloc_disk
Christoph Hellwig
hch at lst.de
Tue Jun 8 15:39:05 AEST 2021
On Thu, Jun 03, 2021 at 12:10:09AM +0000, Chaitanya Kulkarni wrote:
> > diff --git a/drivers/block/null_blk/main.c b/drivers/block/null_blk/main.c
> > index d8e098f1e5b5..74fb2ec63219 100644
> > --- a/drivers/block/null_blk/main.c
> > +++ b/drivers/block/null_blk/main.c
> > @@ -1851,13 +1851,12 @@ static int null_add_dev(struct nullb_device *dev)
> >
> > rv = -ENOMEM;
>
> Is above initialization needed ?
It isn't strictly required any more.
More information about the Linuxppc-dev
mailing list