Merge tag 'vfio-v3.20-rc1' of git://github.com/awilliam/linux-vfio
[firefly-linux-kernel-4.4.55.git] / drivers / mtd / mtdpart.c
index a3e3a7d074d5c7b246aed2bebdd2ed25feba16f9..e779de315ade505f1a508edefc541f7a4223af97 100644 (file)
@@ -378,7 +378,6 @@ static struct mtd_part *allocate_partition(struct mtd_info *master,
 
        slave->mtd.name = name;
        slave->mtd.owner = master->owner;
-       slave->mtd.backing_dev_info = master->backing_dev_info;
 
        /* NOTE:  we don't arrange MTDs as a tree; it'd be error-prone
         * to have the same data be in two different partitions.