summaryrefslogtreecommitdiffstats
path: root/commands/loads.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-21 14:18:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-27 20:28:07 +0100
commit33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae (patch)
tree2bb02720568d0ac934cab588cce4ee0ecd2608da /commands/loads.c
parentbb2a1ea60c94967660d6909c591f817590264826 (diff)
downloadbarebox-33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae.tar.gz
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/loads.c')
-rw-r--r--commands/loads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/loads.c b/commands/loads.c
index 68a44d4..1727be7 100644
--- a/commands/loads.c
+++ b/commands/loads.c
@@ -40,7 +40,7 @@ static int save_serial(ulong offset, ulong size);
static int write_record(char *buf);
#endif /* CONFIG_CMD_SAVES */
-static int do_load_serial(struct command *cmdtp, int argc, char *argv[])
+static int do_load_serial(int argc, char *argv[])
{
ulong offset = 0;
ulong addr;
@@ -175,7 +175,7 @@ static int read_record(char *buf, ulong len)
}
#ifdef CONFIG_CMD_SAVES
-static int do_save_serial(struct command *cmdtp, int argc, char *argv[])
+static int do_save_serial(int argc, char *argv[])
{
ulong offset = 0;
ulong size = 0;