Changeset
memory.c | 2 --
1 file changed, 2 deletions(-)
Git apply log
Switched to a new branch '1526384108-49348-1-git-send-email-jianjay.zhou@huawei.com'
Applying: memory: delete struct AddressSpaceOps
To https://github.com/patchew-project/qemu
 * [new tag]         patchew/1526384108-49348-1-git-send-email-jianjay.zhou@huawei.com -> patchew/1526384108-49348-1-git-send-email-jianjay.zhou@huawei.com
Test passed: checkpatch

loading

Test passed: docker-mingw@fedora

loading

Test passed: docker-quick@centos7

loading

Test passed: s390x

loading

[Qemu-devel] [PATCH] memory: delete struct AddressSpaceOps
Posted by Jay Zhou, 1 week ago
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



Re: [Qemu-devel] [PATCH] memory: delete struct AddressSpaceOps
Posted by Paolo Bonzini, 1 week ago
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