[PATCH 7/7] scripts/kwboot: Remove redundant assignment

Alexander Shiyan shc_work at mail.ru
Sat Feb 15 23:40:50 EST 2014


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 scripts/kwboot.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/kwboot.c b/scripts/kwboot.c
index 81da3e8..e068660 100644
--- a/scripts/kwboot.c
+++ b/scripts/kwboot.c
@@ -552,7 +552,6 @@ kwboot_mmap_image(const char *path, size_t *size, int prot)
 	void *img;
 
 	rc = -1;
-	fd = -1;
 	img = NULL;
 
 	fd = open(path, O_RDONLY);
-- 
1.8.3.2




More information about the barebox mailing list