diff options
author | Jan Kara <jack@suse.cz> | 2017-04-12 12:24:49 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 12:09:55 -0600 |
commit | 7c4cc30024946dae9530cd6dc0d8d4eb40fca173 (patch) | |
tree | b50f82b17ac02ce2b082a26c4ec7a73dd720db0e /drivers/mtd | |
parent | 2e82b84c01d9438d86079980e22e036eee71e754 (diff) | |
download | linux-7c4cc30024946dae9530cd6dc0d8d4eb40fca173.tar.gz linux-7c4cc30024946dae9530cd6dc0d8d4eb40fca173.tar.bz2 linux-7c4cc30024946dae9530cd6dc0d8d4eb40fca173.zip |
bdi: Drop 'parent' argument from bdi_register[_va]()
Drop 'parent' argument of bdi_register() and bdi_register_va(). It is
always NULL.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/mtdcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 23e2e56ca54e..1517da3ddd7d 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -1782,7 +1782,7 @@ static struct backing_dev_info * __init mtd_bdi_init(char *name) * We put '-0' suffix to the name to get the same name format as we * used to get. Since this is called only once, we get a unique name. */ - ret = bdi_register(bdi, NULL, "%.28s-0", name); + ret = bdi_register(bdi, "%.28s-0", name); if (ret) bdi_put(bdi); |