diff --git a/main/asterisk.c b/main/asterisk.c
index d555949839a20ddcfe121fb9f4f2856d8fea9520..40986a484ba1cc607325ac93cd1d317d518a7991 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2466,16 +2466,6 @@ static char *handle_version(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
 	return CLI_SUCCESS;
 }
 
-#if 0
-static int handle_quit(int fd, int argc, char *argv[])
-{
-	if (argc != 1)
-		return RESULT_SHOWUSAGE;
-	quit_handler(0, SHUTDOWN_NORMAL, 0);
-	return RESULT_SUCCESS;
-}
-#endif
-
 static char *handle_stop_now(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
 	switch (cmd) {