[PATCH v0 07/20] mtd-utils: flashcp: Drop exit code defines

Daniel Wagner daniel.wagner at siemens.com
Mon Jun 12 03:50:48 PDT 2017


The EXIT_{FAILURE|SUCCESS} are already defined in stdlib.h.

Signed-off-by: Daniel Wagner <daniel.wagner at siemens.com>
---
 misc-utils/flashcp.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/misc-utils/flashcp.c b/misc-utils/flashcp.c
index af3c88de9ced..a35e6fca9d8d 100644
--- a/misc-utils/flashcp.c
+++ b/misc-utils/flashcp.c
@@ -45,9 +45,6 @@
 
 #include "common.h"
 
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-
 /* for debugging purposes only */
 #ifdef DEBUG
 #undef DEBUG
-- 
2.9.4




More information about the linux-mtd mailing list