diff mbox series

[3/3] vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW

Message ID 20231009022048.35475-4-zhenzhong.duan@intel.com (mailing list archive)
State New, archived
Headers show
Series vfio: memory leak fix and code cleanup | expand

Commit Message

Duan, Zhenzhong Oct. 9, 2023, 2:20 a.m. UTC
No functional changes.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
---
 include/hw/s390x/vfio-ccw.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Philippe Mathieu-Daudé Oct. 9, 2023, 6:26 a.m. UTC | #1
On 9/10/23 04:20, Zhenzhong Duan wrote:
> No functional changes.
> 
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
> ---
>   include/hw/s390x/vfio-ccw.h | 2 --
>   1 file changed, 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Eric Farman Oct. 9, 2023, 6:58 p.m. UTC | #2
On Mon, 2023-10-09 at 10:20 +0800, Zhenzhong Duan wrote:
> No functional changes.
> 
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>

I see Cedric has already queued this, but FWIW:

Reviewed-by: Eric Farman <farman@linux.ibm.com>

> ---
>  include/hw/s390x/vfio-ccw.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/hw/s390x/vfio-ccw.h b/include/hw/s390x/vfio-
> ccw.h
> index 63a909eb7e..4209d27657 100644
> --- a/include/hw/s390x/vfio-ccw.h
> +++ b/include/hw/s390x/vfio-ccw.h
> @@ -22,6 +22,4 @@
>  #define TYPE_VFIO_CCW "vfio-ccw"
>  OBJECT_DECLARE_SIMPLE_TYPE(VFIOCCWDevice, VFIO_CCW)
>  
> -#define TYPE_VFIO_CCW "vfio-ccw"
> -
>  #endif
Cédric Le Goater Oct. 9, 2023, 8:53 p.m. UTC | #3
On 10/9/23 20:58, Eric Farman wrote:
> On Mon, 2023-10-09 at 10:20 +0800, Zhenzhong Duan wrote:
>> No functional changes.
>>
>> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
> 
> I see Cedric has already queued this, but FWIW:
> 
> Reviewed-by: Eric Farman <farman@linux.ibm.com>

I will take the new tags when I rebase.

Thanks,

C.


> 
>> ---
>>   include/hw/s390x/vfio-ccw.h | 2 --
>>   1 file changed, 2 deletions(-)
>>
>> diff --git a/include/hw/s390x/vfio-ccw.h b/include/hw/s390x/vfio-
>> ccw.h
>> index 63a909eb7e..4209d27657 100644
>> --- a/include/hw/s390x/vfio-ccw.h
>> +++ b/include/hw/s390x/vfio-ccw.h
>> @@ -22,6 +22,4 @@
>>   #define TYPE_VFIO_CCW "vfio-ccw"
>>   OBJECT_DECLARE_SIMPLE_TYPE(VFIOCCWDevice, VFIO_CCW)
>>   
>> -#define TYPE_VFIO_CCW "vfio-ccw"
>> -
>>   #endif
>
diff mbox series

Patch

diff --git a/include/hw/s390x/vfio-ccw.h b/include/hw/s390x/vfio-ccw.h
index 63a909eb7e..4209d27657 100644
--- a/include/hw/s390x/vfio-ccw.h
+++ b/include/hw/s390x/vfio-ccw.h
@@ -22,6 +22,4 @@ 
 #define TYPE_VFIO_CCW "vfio-ccw"
 OBJECT_DECLARE_SIMPLE_TYPE(VFIOCCWDevice, VFIO_CCW)
 
-#define TYPE_VFIO_CCW "vfio-ccw"
-
 #endif