monitor: Remove uneeded 'return' statement
authorLuiz Capitulino <lcapitulino@redhat.com>
Tue, 9 Jun 2009 21:22:20 +0000 (18:22 -0300)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 10 Jun 2009 16:46:08 +0000 (19:46 +0300)
The 'return' statement at the of monitor_handle_command() is not
needed and can be removed.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>

monitor.c

index fd91752..9d04d9f 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -2714,7 +2714,6 @@ static void monitor_handle_command(Monitor *mon, const char *cmdline)
  fail:
     for(i = 0; i < MAX_ARGS; i++)
         qemu_free(str_allocated[i]);
-    return;
 }
 
 static void cmd_completion(const char *name, const char *list)