summaryrefslogtreecommitdiffstats
path: root/commands/ubi.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/ubi.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/ubi.c')
-rw-r--r--commands/ubi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/ubi.c b/commands/ubi.c
index 3da08350b9..bf700719b7 100644
--- a/commands/ubi.c
+++ b/commands/ubi.c
@@ -11,7 +11,7 @@
#include <mtd/ubi-user.h>
#include <ubi-media.h>
-static int do_ubimkvol(struct command *cmdtp, int argc, char *argv[])
+static int do_ubimkvol(int argc, char *argv[])
{
struct ubi_mkvol_req req;
int fd, ret;
@@ -56,7 +56,7 @@ BAREBOX_CMD_START(ubimkvol)
BAREBOX_CMD_END
-static int do_ubiattach(struct command *cmdtp, int argc, char *argv[])
+static int do_ubiattach(int argc, char *argv[])
{
struct mtd_info_user user;
int fd, ret;
@@ -92,7 +92,7 @@ BAREBOX_CMD_START(ubiattach)
BAREBOX_CMD_HELP(cmd_ubiattach_help)
BAREBOX_CMD_END
-static int do_ubirmvol(struct command *cmdtp, int argc, char *argv[])
+static int do_ubirmvol(int argc, char *argv[])
{
struct ubi_mkvol_req req;
int fd, ret;