[PATCH] flash_eraseall: Remove warning

Richard Weinberger richard at nod.at
Tue Apr 26 13:03:42 PDT 2016


Well, flash_erase <mtddev> 0 0 is the same as flash_eraseall <mtddev>.
But flash_eraseall is still more handy to use.
Let's keep flash_eraseall as short cut and don't force users to
use a less handy user interface.

Signed-off-by: Richard Weinberger <richard at nod.at>
---
 misc-utils/flash_eraseall | 1 -
 1 file changed, 1 deletion(-)

diff --git a/misc-utils/flash_eraseall b/misc-utils/flash_eraseall
index c5539b3..65a85cc 100755
--- a/misc-utils/flash_eraseall
+++ b/misc-utils/flash_eraseall
@@ -1,4 +1,3 @@
 #!/bin/sh
-echo "${0##*/} has been replaced by \`flash_erase <mtddev> 0 0\`; please use it" 1>&2
 [ $# -ne 0 ] && set -- "$@" 0 0
 exec flash_erase "$@"
-- 
2.7.3




More information about the linux-mtd mailing list