diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-21 14:18:57 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-27 20:28:07 +0100 |
commit | 33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae (patch) | |
tree | 2bb02720568d0ac934cab588cce4ee0ecd2608da /commands/flash.c | |
parent | bb2a1ea60c94967660d6909c591f817590264826 (diff) | |
download | barebox-33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae.tar.gz barebox-33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae.tar.xz |
commands: remove struct command pointer from commands
This is unused in all commands and thus can be removed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/flash.c')
-rw-r--r-- | commands/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/flash.c b/commands/flash.c index 85efd06e43..1fcb1cff00 100644 --- a/commands/flash.c +++ b/commands/flash.c @@ -36,7 +36,7 @@ #include <fcntl.h> #include <linux/stat.h> -static int do_flerase(struct command *cmdtp, int argc, char *argv[]) +static int do_flerase(int argc, char *argv[]) { int fd; char *filename = NULL; @@ -103,7 +103,7 @@ devinfo_command for partition handling. */ -static int do_protect(struct command *cmdtp, int argc, char *argv[]) +static int do_protect(int argc, char *argv[]) { int fd; char *filename = NULL; |