Commit 492f75a
committed
Simplify math to caluclate the page count for the ramdisk
Rather than replace range_inclusive, we can remove the nesting doll math from ramdisk_page_count instead.
IMO this makes the code a bit more readable.1 parent 6781934 commit 492f75a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments