From db26d4a2bd7cd1acb16aa2113784a86cf63fd8fa Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 30 Apr 2018 20:38:18 +0200 Subject: [PATCH] server: Remove incorrect __a_unused in com_ff() and com_jmp(). These subcommands do use the command context pointer. --- command.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/command.c b/command.c index aac344bc..6db0c003 100644 --- a/command.c +++ b/command.c @@ -663,8 +663,7 @@ static int com_nomore(__a_unused struct command_context *cc, } EXPORT_SERVER_CMD_HANDLER(nomore); -static int com_ff(__a_unused struct command_context *cc, - struct lls_parse_result *lpr) +static int com_ff(struct command_context *cc, struct lls_parse_result *lpr) { long promille; int ret, backwards = 0; @@ -706,8 +705,7 @@ out: } EXPORT_SERVER_CMD_HANDLER(ff); -static int com_jmp(__a_unused struct command_context *cc, - struct lls_parse_result *lpr) +static int com_jmp(struct command_context *cc, struct lls_parse_result *lpr) { long unsigned int i; int ret; -- 2.39.5