Commit 1380b65
committed
Remove reundant address comparison in accel_remap_huge_pages
Closes GH-8830
MAP_FIXED guarantees mmap will return that exact address or fail so the
address comparison is redundant.
The return value of this function is unused but I kept it because it
improves readability.1 parent 2ca4116 commit 1380b65
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2984 | 2984 | | |
2985 | 2985 | | |
2986 | 2986 | | |
2987 | | - | |
| 2987 | + | |
2988 | 2988 | | |
2989 | 2989 | | |
2990 | 2990 | | |
| 2991 | + | |
| 2992 | + | |
2991 | 2993 | | |
| 2994 | + | |
| 2995 | + | |
2992 | 2996 | | |
2993 | | - | |
2994 | | - | |
2995 | | - | |
2996 | | - | |
2997 | 2997 | | |
2998 | 2998 | | |
2999 | | - | |
| 2999 | + | |
3000 | 3000 | | |
3001 | 3001 | | |
3002 | 3002 | | |
| |||
0 commit comments