diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2021-01-11 12:52:23 +0000 |
---|---|---|
committer | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2021-01-11 12:52:23 +0000 |
commit | 2107433a193d7e73e302f612b12eb4233ad8e9b3 (patch) | |
tree | a53e88d8da44b541cc57d70572f6a631bf79edb6 /drivers/mtd | |
parent | 6f99d037640ef1651496a37746975640c991d86b (diff) | |
parent | f3a4c8d501452b8c2e04c4500c317ce4bdb1b47c (diff) |
Merge tag 'v5.4.88' into 5.4-2.3.x-imx
This is the 5.4.88 stable release
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/spi/core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c index 671700af9180..0d21c68bfe24 100644 --- a/drivers/mtd/nand/spi/core.c +++ b/drivers/mtd/nand/spi/core.c @@ -317,10 +317,6 @@ static int spinand_write_to_cache_op(struct spinand_device *spinand, buf += ret; } - if (req->ooblen) - memcpy(req->oobbuf.in, spinand->oobbuf + req->ooboffs, - req->ooblen); - return 0; } |