From 420a3173f0f7d2bd35f32be437e4888a82047560 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 19 Oct 2009 16:16:54 +0200 Subject: commands: remove maxargs No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer --- lib/driver.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/driver.c b/lib/driver.c index 589bd8dffe..73bd9a830b 100644 --- a/lib/driver.c +++ b/lib/driver.c @@ -335,7 +335,6 @@ static const __maybe_unused char cmd_devinfo_help[] = "information about this device and its parameters.\n"; U_BOOT_CMD_START(devinfo) - .maxargs = 2, .cmd = do_devinfo, .usage = "display info about devices and drivers", U_BOOT_CMD_HELP(cmd_devinfo_help) -- cgit v1.2.3