summaryrefslogtreecommitdiff
path: root/src/jtag/parport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/parport.c')
-rw-r--r--src/jtag/parport.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jtag/parport.c b/src/jtag/parport.c
index 41e02475..12a5eea5 100644
--- a/src/jtag/parport.c
+++ b/src/jtag/parport.c
@@ -435,9 +435,7 @@ static int parport_handle_parport_port_command(struct command_context_s *cmd_ctx
/* only if the port wasn't overwritten by cmdline */
if (parport_port == 0)
{
- int retval = parse_u16(args[0], &parport_port);
- if (ERROR_OK != retval)
- return retval;
+ COMMAND_PARSE_NUMBER(u16, args[0], parport_port);
}
else
{