diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-12-31 19:18:08 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-01-02 19:49:36 +0100 |
commit | b0759dfc538b973cce67df93f8a7fe239bfb4c74 (patch) | |
tree | 6b1e71517ff431ffda9a3f2da2bbb6a688c5e41b /src/flash/nand/nonce.c | |
parent | 0136977c40e41cdaab5d775c4e370763006ad99c (diff) |
flash/nand: review NAND driver interface
From struct nand_flash_controller :
- remove unused field register_commands;
- remove field controller_ready, exported but
never referenced.
Remove dead code pointed by controller_ready.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nand/nonce.c')
-rw-r--r-- | src/flash/nand/nonce.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c index ab490aea..565ad727 100644 --- a/src/flash/nand/nonce.c +++ b/src/flash/nand/nonce.c @@ -52,11 +52,6 @@ static int nonce_nand_reset(struct nand_device *nand) return nonce_nand_command(nand, NAND_CMD_RESET); } -static int nonce_nand_controller_ready(struct nand_device *nand, int timeout) -{ - return true; -} - NAND_DEVICE_COMMAND_HANDLER(nonce_nand_device_command) { return ERROR_OK; @@ -79,5 +74,4 @@ struct nand_flash_controller nonce_nand_controller = .read_data = &nonce_nand_read, .write_data = &nonce_nand_write, .write_block_data = &nonce_nand_fast_block_write, - .controller_ready = &nonce_nand_controller_ready, }; |