]> git.sur5r.net Git - u-boot/commit
tools: zynqimage: Clean up check_params
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 8 Dec 2015 14:44:43 +0000 (00:44 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 18 Dec 2015 12:15:57 +0000 (13:15 +0100)
commitbc3660503588b0cb780e5fc1797393127425149c
tree80d2d4efa5184aa768f9cbc5bba30478bea33e48
parentf0b567bf0a0f271e60bcd63f49dd54599aa56a4f
tools: zynqimage: Clean up check_params

Clean up the param checking, removing some code paths that will never
happen.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Tom Rini <trini@konsulko.com>
Reported-by: Coverity (CID 133251)
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
tools/zynqimage.c