diff mbox

memory: delete struct AddressSpaceOps

Message ID 1526384108-49348-1-git-send-email-jianjay.zhou@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zhoujian (jay) May 15, 2018, 11:35 a.m. UTC
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(-)

Comments

Paolo Bonzini May 15, 2018, 3:45 p.m. UTC | #1
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
diff mbox

Patch

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)