daemon: remove unused CMD_REQUEUE.

This was a remnant of the old code which used to alternate priority
for making changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-05-26 15:23:39 +09:30
parent a2ced6c16c
commit b6339af195
2 changed files with 0 additions and 5 deletions

View File

@ -164,9 +164,6 @@ static void state_single(struct peer *peer,
log_add(peer->log, " (command FAIL)");
peer_cmd_complete(peer, CMD_FAIL);
break;
case CMD_REQUEUE:
log_add(peer->log, " (Command requeue)");
break;
}
if (tal_count(peer->outpkt) > old_outpkts) {

View File

@ -141,8 +141,6 @@ enum command_status {
CMD_NONE,
/* Command succeeded. */
CMD_SUCCESS,
/* HTLC-command needs re-issuing (theirs takes preference) */
CMD_REQUEUE,
/* Failed. */
CMD_FAIL
};