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

2018-07-18 Thread Michal Simek
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 --- cmd/fpga.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/cmd/f

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

2018-07-18 Thread Simon Glass
On 18 July 2018 at 09:16, Michal Simek 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 > --- > > cmd/fpga.c |