linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 443-block2mtd-avoid-recursive-call-of-mtd_writev.patch
1 --- a/drivers/mtd/devices/block2mtd.c
2 +++ b/drivers/mtd/devices/block2mtd.c
3 @@ -388,7 +388,6 @@ static struct block2mtd_dev *add_device(
4 dev->mtd.flags = MTD_CAP_RAM;
5 dev->mtd.erase = block2mtd_erase;
6 dev->mtd.write = block2mtd_write;
7 - dev->mtd.writev = mtd_writev;
8 dev->mtd.sync = block2mtd_sync;
9 dev->mtd.read = block2mtd_read;
10 dev->mtd.priv = dev;