]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: sunxi: Remove unneeded ->cmdfunc(NAND_CMD_READ0, 0, page)
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 15 May 2017 22:23:46 +0000 (00:23 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 1 Jun 2017 08:09:32 +0000 (10:09 +0200)
commitdf5586d7bf6cce421ed48e9b2a88a8bdaa4fd9d0
tree8bf6276b2bfdbe0c5d81a1a281766220cd64c537
parent2de85e73360104d3582363dcebdcdd7dc20431be
mtd: nand: sunxi: Remove unneeded ->cmdfunc(NAND_CMD_READ0, 0, page)

The core already sends the NAND_CMD_READ0 for us. Duplicating this call
in the driver is useless and introduces a perf penalty.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/sunxi_nand.c