[PATCH 09/13] qga/qapi-schema: Delete useless "Returns" sections

Markus Armbruster posted 13 patches 9 months ago
Maintainers: Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Eric Blake <eblake@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Jason Wang <jasowang@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Stefan Berger <stefanb@linux.vnet.ibm.com>, Gerd Hoffmann <kraxel@redhat.com>, Lukas Straub <lukasstraub2@web.de>, Konstantin Kostiuk <kkostiuk@redhat.com>
[PATCH 09/13] qga/qapi-schema: Delete useless "Returns" sections
Posted by Markus Armbruster 9 months ago
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 qga/qapi-schema.json | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index c5f2ac8f59..636c2c5697 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -153,8 +153,6 @@
 # @time: time of nanoseconds, relative to the Epoch of 1970-01-01 in
 #     UTC.
 #
-# Returns: Nothing on success.
-#
 # Since: 1.5
 ##
 { 'command': 'guest-set-time',
@@ -245,8 +243,6 @@
 #
 # @handle: filehandle returned by guest-file-open
 #
-# Returns: Nothing on success.
-#
 # Since: 0.15.0
 ##
 { 'command': 'guest-file-close',
@@ -399,8 +395,6 @@
 #
 # @handle: filehandle returned by guest-file-open
 #
-# Returns: Nothing on success.
-#
 # Since: 0.15.0
 ##
 { 'command': 'guest-file-flush',
@@ -1077,8 +1071,6 @@
 # transmission, even if already crypt()d, to ensure it is 8-bit safe
 # when passed as JSON.
 #
-# Returns: Nothing on success.
-#
 # Since: 2.3
 ##
 { 'command': 'guest-set-user-password',
@@ -1602,8 +1594,6 @@
 #
 # @reset: ignore the existing content, set it with the given keys only
 #
-# Returns: Nothing on success.
-#
 # Since: 5.2
 ##
 { 'command': 'guest-ssh-add-authorized-keys',
@@ -1622,8 +1612,6 @@
 # @keys: the public keys to remove (in OpenSSH/sshd(8) authorized_keys
 #     format)
 #
-# Returns: Nothing on success.
-#
 # Since: 5.2
 ##
 { 'command': 'guest-ssh-remove-authorized-keys',
-- 
2.43.0
Re: [PATCH 09/13] qga/qapi-schema: Delete useless "Returns" sections
Posted by Konstantin Kostiuk 8 months, 3 weeks ago
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>

On Tue, Feb 27, 2024 at 1:39 PM Markus Armbruster <armbru@redhat.com> wrote:

> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>  qga/qapi-schema.json | 12 ------------
>  1 file changed, 12 deletions(-)
>
> diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
> index c5f2ac8f59..636c2c5697 100644
> --- a/qga/qapi-schema.json
> +++ b/qga/qapi-schema.json
> @@ -153,8 +153,6 @@
>  # @time: time of nanoseconds, relative to the Epoch of 1970-01-01 in
>  #     UTC.
>  #
> -# Returns: Nothing on success.
> -#
>  # Since: 1.5
>  ##
>  { 'command': 'guest-set-time',
> @@ -245,8 +243,6 @@
>  #
>  # @handle: filehandle returned by guest-file-open
>  #
> -# Returns: Nothing on success.
> -#
>  # Since: 0.15.0
>  ##
>  { 'command': 'guest-file-close',
> @@ -399,8 +395,6 @@
>  #
>  # @handle: filehandle returned by guest-file-open
>  #
> -# Returns: Nothing on success.
> -#
>  # Since: 0.15.0
>  ##
>  { 'command': 'guest-file-flush',
> @@ -1077,8 +1071,6 @@
>  # transmission, even if already crypt()d, to ensure it is 8-bit safe
>  # when passed as JSON.
>  #
> -# Returns: Nothing on success.
> -#
>  # Since: 2.3
>  ##
>  { 'command': 'guest-set-user-password',
> @@ -1602,8 +1594,6 @@
>  #
>  # @reset: ignore the existing content, set it with the given keys only
>  #
> -# Returns: Nothing on success.
> -#
>  # Since: 5.2
>  ##
>  { 'command': 'guest-ssh-add-authorized-keys',
> @@ -1622,8 +1612,6 @@
>  # @keys: the public keys to remove (in OpenSSH/sshd(8) authorized_keys
>  #     format)
>  #
> -# Returns: Nothing on success.
> -#
>  # Since: 5.2
>  ##
>  { 'command': 'guest-ssh-remove-authorized-keys',
> --
> 2.43.0
>
>