aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-04 10:07:54 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-04 10:07:54 +0200
commite5c876a486ff4f0e0adac05f1db29941f86ec5ba (patch)
treeefd333ed5c83bc62532af59e32a6b045587e9134
parentfb7b905de6b9154b3cc46a4ae39a40f9385749f2 (diff)
Cleanup: remove self assign
This no-op was remarked by coverity. According to git-blame, it has been this way since the initial commit in 2006. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--nor-utils/rfddump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nor-utils/rfddump.c b/nor-utils/rfddump.c
index 78ec443..d6d7f68 100644
--- a/nor-utils/rfddump.c
+++ b/nor-utils/rfddump.c
@@ -260,8 +260,6 @@ int main(int argc, char *argv[])
return 2;
}
- rfd.mtd_filename = rfd.mtd_filename;
-
for (i=0; i<rfd.sector_count; i++)
rfd.sector_map[i] = -1;