[U-Boot] [RFC PATCH 05/15] cmd: fpga: Move parameter checking for loadfs/loads
Simon Glass
sjg at chromium.org
Thu Jul 19 01:32:37 UTC 2018
On 18 July 2018 at 09:16, Michal Simek <michal.simek at xilinx.com> wrote:
> There is no reason to check parameters in separate switch before main
> one. This patch is simplifying error path and checking parameters right
> after assignment.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> cmd/fpga.c | 44 +++++++++++++++++++++-----------------------
> 1 file changed, 21 insertions(+), 23 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list