summaryrefslogtreecommitdiff
path: root/nand-utils
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-22 13:41:22 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-28 10:27:35 +0200
commite511691315f6704961a0c8e3a9725f1a589a5c11 (patch)
treef0b4034c8e2c9a8d8851580f191f5256b145dfb3 /nand-utils
parentca517e8b320c7a31c3a147fb1212ddb33cabd919 (diff)
Remove unused variables and functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'nand-utils')
-rw-r--r--nand-utils/nandwrite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nand-utils/nandwrite.c b/nand-utils/nandwrite.c
index f29fc67..8f21593 100644
--- a/nand-utils/nandwrite.c
+++ b/nand-utils/nandwrite.c
@@ -261,8 +261,6 @@ static int is_virt_block_bad(struct mtd_dev_info *mtd, int fd,
*/
int main(int argc, char * const argv[])
{
- int allffs;
- int ii;
int fd = -1;
int ifd = -1;
int pagelen;