Commit bb077c3
mm: cleanup is_highmem()
It is unnecessary to add CONFIG_HIGHMEM check in is_highmem(), which has
been done in is_highmem_idx(), and move is_highmem() close to
is_highmem_idx(). This has no functional impact.
Link: https://lkml.kernel.org/r/20220726131816.149075-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent f6c3e1a commit bb077c3
1 file changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | 1140 | | |
1150 | 1141 | | |
1151 | 1142 | | |
| |||
1155 | 1146 | | |
1156 | 1147 | | |
1157 | 1148 | | |
1158 | | - | |
1159 | 1149 | | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1160 | 1154 | | |
1161 | | - | |
1162 | | - | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1163 | 1158 | | |
| 1159 | + | |
1164 | 1160 | | |
1165 | 1161 | | |
1166 | 1162 | | |
| |||
0 commit comments