[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 3/3] memory: Remove the superfluous code
From: |
Gonglei |
Subject: |
[Qemu-devel] [PATCH v2 3/3] memory: Remove the superfluous code |
Date: |
Mon, 22 Feb 2016 16:34:57 +0800 |
Signed-off-by: Gonglei <address@hidden>
---
include/exec/memory.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 1cf2e51..4e5a145 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -1400,8 +1400,6 @@ static inline bool memory_access_is_direct(MemoryRegion
*mr, bool is_write)
} else {
return memory_region_is_ram(mr) || memory_region_is_romd(mr);
}
-
- return false;
}
/**
--
1.8.5.2