mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
hw_caps: simplify and unify initialized handling
Origin commit data
------------------
Branch: master
Commit: 5ec4e4f22f
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-29 (Sat, 29 May 2021)
Origin message was:
------------------
- hw_caps: simplify and unify initialized handling
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -32,7 +32,6 @@ hw_caps_t *get_hwcaps(void)
|
||||
else
|
||||
caps.can_pip = 0;
|
||||
|
||||
initialized = 1;
|
||||
caps.can_cpufreq = 0;
|
||||
caps.can_shutdown = 1; /* for testing */
|
||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||
@@ -53,5 +52,6 @@ hw_caps_t *get_hwcaps(void)
|
||||
else
|
||||
fprintf(stderr, "%s: uname() failed: %m\n", __func__);
|
||||
|
||||
initialized = 1;
|
||||
return ∩︀
|
||||
}
|
||||
|
Reference in New Issue
Block a user