[U-Boot] [RFC PATCH 06/15] cmd: fpga: Remove parameter checking from fpga loadfs command

Simon Glass sjg at chromium.org
Thu Jul 19 01:32:41 UTC 2018


On 18 July 2018 at 09:16, Michal Simek <michal.simek at xilinx.com> wrote:
> 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 at xilinx.com>
> ---
>
>  cmd/fpga.c | 7 -------
>  1 file changed, 7 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list