aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorAmos Kong <akong@redhat.com>2012-09-29 13:36:21 +0800
committerStefan Hajnoczi <stefanha@gmail.com>2012-10-05 15:10:21 +0200
commit4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (patch)
treeee0e196c5bc3d4cb7702ff55c5bf7464c86a8783 /qga
parent58455eb9f2865d54c8bf208805f7a4c217b5c00d (diff)
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'qga')
-rw-r--r--qga/commands-posix.c2
-rw-r--r--qga/commands-win32.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index ce9042123c..b0eec74148 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -988,8 +988,6 @@ int64_t qmp_guest_fsfreeze_thaw(Error **err)
void qmp_guest_fstrim(bool has_minimum, int64_t minimum, Error **err)
{
error_set(err, QERR_UNSUPPORTED);
-
- return;
}
#endif
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 54bc5462e2..5bd8fb27f2 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -180,8 +180,6 @@ int64_t qmp_guest_fsfreeze_thaw(Error **err)
void qmp_guest_fstrim(bool has_minimum, int64_t minimum, Error **err)
{
error_set(err, QERR_UNSUPPORTED);
-
- return;
}
typedef enum {