Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | assume zero is valid address |
2 | |||||
3 | Upstream-Status: Pending | ||||
4 | |||||
5 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||||
6 | --- | ||||
7 | thunk.c | 3 --- | ||||
8 | 1 file changed, 3 deletions(-) | ||||
9 | |||||
10 | diff --git a/thunk.c b/thunk.c | ||||
11 | index 796e88b..6121ea1 100644 | ||||
12 | --- a/thunk.c | ||||
13 | +++ b/thunk.c | ||||
14 | @@ -141,9 +141,6 @@ int LRMI_init() { | ||||
15 | |||||
16 | mmap_addr = LRMI_common_init(1); | ||||
17 | |||||
18 | - if (!mmap_addr) | ||||
19 | - return 0; | ||||
20 | - | ||||
21 | X86EMU_pioFuncs pioFuncs = { | ||||
22 | (&x_inb), | ||||
23 | (&x_inw), | ||||
24 | -- | ||||
25 | 1.9.1 | ||||
26 |