All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] memory: delete struct AddressSpaceOps
@ 2018-05-15 11:35 Jay Zhou
  2018-05-15 15:45 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Zhou @ 2018-05-15 11:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, wangxinxin.wang, weidong.huang, jianjay.zhou

Since struct AddressSpaceOps isn't used anywhere else,
so just delete it.

Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
---
 memory.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/memory.c b/memory.c
index fc7f9b7..94b91f9 100644
--- a/memory.c
+++ b/memory.c
@@ -220,8 +220,6 @@ struct FlatRange {
     bool readonly;
 };
 
-typedef struct AddressSpaceOps AddressSpaceOps;
-
 #define FOR_EACH_FLAT_RANGE(var, view)          \
     for (var = (view)->ranges; var < (view)->ranges + (view)->nr; ++var)
 
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] memory: delete struct AddressSpaceOps
  2018-05-15 11:35 [Qemu-devel] [PATCH] memory: delete struct AddressSpaceOps Jay Zhou
@ 2018-05-15 15:45 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2018-05-15 15:45 UTC (permalink / raw)
  To: Jay Zhou, qemu-devel; +Cc: wangxinxin.wang, weidong.huang

On 15/05/2018 13:35, Jay Zhou wrote:
> Since struct AddressSpaceOps isn't used anywhere else,
> so just delete it.
> 
> Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
> ---
>  memory.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/memory.c b/memory.c
> index fc7f9b7..94b91f9 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -220,8 +220,6 @@ struct FlatRange {
>      bool readonly;
>  };
>  
> -typedef struct AddressSpaceOps AddressSpaceOps;
> -
>  #define FOR_EACH_FLAT_RANGE(var, view)          \
>      for (var = (view)->ranges; var < (view)->ranges + (view)->nr; ++var)
>  
> 

Queued, thanks.

Paolo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-15 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 11:35 [Qemu-devel] [PATCH] memory: delete struct AddressSpaceOps Jay Zhou
2018-05-15 15:45 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.