summaryrefslogtreecommitdiffstats
path: root/commands/linux16.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/linux16.c
parentbb2a1ea60c94967660d6909c591f817590264826 (diff)
downloadbarebox-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/linux16.c')
-rw-r--r--commands/linux16.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/linux16.c b/commands/linux16.c
index 8a1b5fed75..20413b6f0d 100644
--- a/commands/linux16.c
+++ b/commands/linux16.c
@@ -147,7 +147,6 @@ struct linux_kernel_header {
/**
* Load an x86 Linux kernel bzImage and start it
- * @param cmdtp FIXME
* @param argc parameter count
* @param argv list of parameter
*
@@ -155,7 +154,7 @@ struct linux_kernel_header {
* (setup = 'real mode code' and kernel = 'protected mode code') to their
* default locations, switches back to real mode and runs the setup code.
*/
-static int do_linux16(struct command *cmdtp, int argc, char *argv[])
+static int do_linux16(int argc, char *argv[])
{
struct linux_kernel_header *lh = NULL;
int rc, opt;