From 33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 21 Dec 2011 14:18:57 +0100 Subject: commands: remove struct command pointer from commands This is unused in all commands and thus can be removed. Signed-off-by: Sascha Hauer --- commands/loads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/loads.c') diff --git a/commands/loads.c b/commands/loads.c index 68a44d40c2..1727be7275 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; -- cgit v1.2.3