[PATCH 13/20] migration: remove unused QEMUFileGetFD typedef

Daniel P. Berrangé posted 20 patches 3 years, 1 month ago
There is a newer version of this series
[PATCH 13/20] migration: remove unused QEMUFileGetFD typedef
Posted by Daniel P. Berrangé 3 years, 1 month ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 migration/qemu-file.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/migration/qemu-file.h b/migration/qemu-file.h
index 07c86bfea3..674c2c409b 100644
--- a/migration/qemu-file.h
+++ b/migration/qemu-file.h
@@ -46,10 +46,6 @@ typedef ssize_t (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf,
  */
 typedef int (QEMUFileCloseFunc)(void *opaque, Error **errp);
 
-/* Called to return the OS file descriptor associated to the QEMUFile.
- */
-typedef int (QEMUFileGetFD)(void *opaque);
-
 /* Called to change the blocking mode of the file
  */
 typedef int (QEMUFileSetBlocking)(void *opaque, bool enabled, Error **errp);
-- 
2.36.1


Re: [PATCH 13/20] migration: remove unused QEMUFileGetFD typedef
Posted by Dr. David Alan Gilbert 3 years, 1 month ago
* Daniel P. Berrangé (berrange@redhat.com) wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

> ---
>  migration/qemu-file.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/migration/qemu-file.h b/migration/qemu-file.h
> index 07c86bfea3..674c2c409b 100644
> --- a/migration/qemu-file.h
> +++ b/migration/qemu-file.h
> @@ -46,10 +46,6 @@ typedef ssize_t (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf,
>   */
>  typedef int (QEMUFileCloseFunc)(void *opaque, Error **errp);
>  
> -/* Called to return the OS file descriptor associated to the QEMUFile.
> - */
> -typedef int (QEMUFileGetFD)(void *opaque);
> -
>  /* Called to change the blocking mode of the file
>   */
>  typedef int (QEMUFileSetBlocking)(void *opaque, bool enabled, Error **errp);
> -- 
> 2.36.1
> 
-- 
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK