summaryrefslogtreecommitdiffstats
path: root/commands/dfu.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/dfu.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/dfu.c')
-rw-r--r--commands/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/dfu.c b/commands/dfu.c
index 7f2dfedfde..eab65e519a 100644
--- a/commands/dfu.c
+++ b/commands/dfu.c
@@ -95,7 +95,7 @@ static int dfu_do_parse_one(char *partstr, char **endstr, struct usb_dfu_dev *df
* s = save mode (download whole image before flashing)
* r = read back (firmware image can be downloaded back from host)
*/
-static int do_dfu(struct command *cmdtp, int argc, char *argv[])
+static int do_dfu(int argc, char *argv[])
{
int opt, n = 0;
struct usb_dfu_pdata pdata;