forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit6993ce4
ACPI: battery: Drop redundant test for failure
Merging the two adjacent conditionally built blocks makes the codea lot more readable. And as a bonus, we drop a duplicate test whenCONFIG_ACPI_PROCFS_POWER is undefined.Signed-off-by: Bjørn Mork <bjorn@mork.no>Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent50c4c4e commit6993ce4
1 file changed
+1
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1237 | 1237 |
| |
1238 | 1238 |
| |
1239 | 1239 |
| |
1240 |
| - | |
1241 | 1240 |
| |
1242 |
| - | |
1243 | 1241 |
| |
1244 |
| - | |
1245 | 1242 |
| |
1246 | 1243 |
| |
| 1244 | + | |
1247 | 1245 |
| |
1248 | 1246 |
| |
1249 | 1247 |
| |
|
0 commit comments
Comments
(0)