Commit 7a9490a
committed
ACPI: fan: Fold two simple functions into their only caller
Both acpi_fan_has_fst() and acpi_fan_is_acpi4() are called from one
place only, so fold them both into there caller which yields slightly
leaner code that is somewhat easier to follow.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3386797.aeNJFYEL58@rafael.j.wysocki1 parent b320789 commit 7a9490a
1 file changed
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 206 | | |
219 | 207 | | |
220 | 208 | | |
| |||
331 | 319 | | |
332 | 320 | | |
333 | 321 | | |
334 | | - | |
| 322 | + | |
335 | 323 | | |
336 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
337 | 327 | | |
338 | 328 | | |
339 | 329 | | |
| |||
0 commit comments