Message ID | 20170828071803.9406-3-hegdevasant@linux.vnet.ibm.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2,1/5] hdata: Fix vpd parse | expand |
diff --git a/hdata/memory.c b/hdata/memory.c index b80d33c..dbb0ac4 100644 --- a/hdata/memory.c +++ b/hdata/memory.c @@ -34,14 +34,10 @@ struct HDIF_ram_area_id { } __packed; struct HDIF_ram_area_size { - __be64 mb; + __be32 reserved1; + __be32 mb; } __packed; -struct ram_area { - const struct HDIF_ram_area_id *raid; - const struct HDIF_ram_area_size *rasize; -}; - struct HDIF_ms_area_address_range { __be64 start; __be64 end;
Also remove unused ram_area structure. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> --- hdata/memory.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)