Message ID | 1526384108-49348-1-git-send-email-jianjay.zhou@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 --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)
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(-)