diff options
Diffstat (limited to 'src/jtag/gw16012.c')
-rw-r--r-- | src/jtag/gw16012.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c index 46635d07..4b0ffd73 100644 --- a/src/jtag/gw16012.c +++ b/src/jtag/gw16012.c @@ -576,9 +576,7 @@ static int gw16012_handle_parport_port_command(struct command_context_s *cmd_ctx /* only if the port wasn't overwritten by cmdline */ if (gw16012_port == 0) { - int retval = parse_u16(args[0], &gw16012_port); - if (ERROR_OK != retval) - return retval; + COMMAND_PARSE_NUMBER(u16, args[0], gw16012_port); } else { |