mtd m25p80: fix bug - ATmel spi flash fails to be copied to - fix up
PATCH 1/1 mtd m25p80: fix bug - ATmel spi flash fails to be copied to - fix up
From: Michael Hennerich <[email protected]>
remove duplicate code.
Signed-off-by Michael Hennerich <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/mtd/devices/m25p80.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/mtd/devices/m25p80.c +0 -2
@@ -122,8 +122,6 @@ static int write_sr(struct m25p *flash, u8 val) flash->command[0 ] =OPCODE_WRSR ; flash->command[1 ] = val; -spi_write (flash->spi, flash->command,2 ); -return spi_write (flash->spi, flash->command,2 ); }
Signature · 1 line
1.5.5