]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: fpga: Remove parameter checking from fpga loadfs command
authorMichal Simek <michal.simek@xilinx.com>
Mon, 4 Jun 2018 11:57:19 +0000 (13:57 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 11 Sep 2018 08:58:42 +0000 (10:58 +0200)
commitaa93ac59dcf6c7a7593cd7d67b8f8a5b01353efb
treefa04e03e70e15e0f121eeafaac3f5849ce93b753
parent44d839bd5f3c7508c50fc083a48425188022d958
cmd: fpga: Remove parameter checking from fpga loadfs command

Parameter checking is dead code because all the time there must be all
params assigned. If they are not assigned there is no 9th parameters
passed and checking before return CMD_RET_USAGE.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/fpga.c