[libvirt] [PATCH 01/26] conf: Remove obsolete comment

Andrea Bolognani posted 26 patches 7 years, 11 months ago
There is a newer version of this series
[libvirt] [PATCH 01/26] conf: Remove obsolete comment
Posted by Andrea Bolognani 7 years, 11 months ago
The virDomainDeviceInfoIsSet() function no longer exists.
---
 src/conf/device_conf.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/conf/device_conf.h b/src/conf/device_conf.h
index a20de85..58b2c9c 100644
--- a/src/conf/device_conf.h
+++ b/src/conf/device_conf.h
@@ -134,10 +134,6 @@ struct _virDomainDeviceDimmAddress {
 typedef struct _virDomainDeviceInfo virDomainDeviceInfo;
 typedef virDomainDeviceInfo *virDomainDeviceInfoPtr;
 struct _virDomainDeviceInfo {
-    /* If adding to this struct, ensure that
-     * virDomainDeviceInfoIsSet() is updated
-     * to consider the new fields
-     */
     char *alias;
     int type; /* virDomainDeviceAddressType */
     union {
-- 
2.7.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 01/26] conf: Remove obsolete comment
Posted by Laine Stump 7 years, 11 months ago
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> The virDomainDeviceInfoIsSet() function no longer exists.
> ---
>  src/conf/device_conf.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/src/conf/device_conf.h b/src/conf/device_conf.h
> index a20de85..58b2c9c 100644
> --- a/src/conf/device_conf.h
> +++ b/src/conf/device_conf.h
> @@ -134,10 +134,6 @@ struct _virDomainDeviceDimmAddress {
>  typedef struct _virDomainDeviceInfo virDomainDeviceInfo;
>  typedef virDomainDeviceInfo *virDomainDeviceInfoPtr;
>  struct _virDomainDeviceInfo {
> -    /* If adding to this struct, ensure that
> -     * virDomainDeviceInfoIsSet() is updated
> -     * to consider the new fields
> -     */
>      char *alias;
>      int type; /* virDomainDeviceAddressType */
>      union {
> 

Reviewed-by: Laine Stump <laine@laine.org>

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list