diff mbox series

[3/5] include/exec: remove warning_printed from MemoryRegion

Message ID 20240307181105.4081793-4-alex.bennee@linaro.org
State New
Headers show
Series docs: improve the memory API documentation | expand

Commit Message

Alex Bennée March 7, 2024, 6:11 p.m. UTC
Since d197063fcf9 (memory: move unassigned_mem_ops to memory.c) this
field is unused.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 include/exec/memory.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Richard Henderson March 7, 2024, 8:40 p.m. UTC | #1
On 3/7/24 08:11, Alex Bennée wrote:
> Since d197063fcf9 (memory: move unassigned_mem_ops to memory.c) this
> field is unused.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
>   include/exec/memory.h | 1 -
>   1 file changed, 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Philippe Mathieu-Daudé March 7, 2024, 8:40 p.m. UTC | #2
On 7/3/24 19:11, Alex Bennée wrote:
> Since d197063fcf9 (memory: move unassigned_mem_ops to memory.c) this
> field is unused.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   include/exec/memory.h | 1 -
>   1 file changed, 1 deletion(-)

10+ years ;)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Peter Xu March 8, 2024, 8:03 a.m. UTC | #3
On Thu, Mar 07, 2024 at 06:11:03PM +0000, Alex Bennée wrote:
> Since d197063fcf9 (memory: move unassigned_mem_ops to memory.c) this
> field is unused.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: Peter Xu <peterx@redhat.com>
diff mbox series

Patch

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 8626a355b31..17b741bc4f5 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -814,7 +814,6 @@  struct MemoryRegion {
     bool terminates;
     bool ram_device;
     bool enabled;
-    bool warning_printed; /* For reservations */
     uint8_t vga_logging_count;
     MemoryRegion *alias;
     hwaddr alias_offset;