mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Add unused attributes to avoid compiler warnings
This commit is contained in:
parent
06f0798162
commit
52cf510303
|
@ -52,7 +52,7 @@ static struct uniwill_device_features_t *uw_feats;
|
||||||
/**
|
/**
|
||||||
* strstr version of dmi_match
|
* strstr version of dmi_match
|
||||||
*/
|
*/
|
||||||
static bool dmi_string_in(enum dmi_field f, const char *str)
|
static bool __attribute__ ((unused)) dmi_string_in(enum dmi_field f, const char *str)
|
||||||
{
|
{
|
||||||
const char *info = dmi_get_system_info(f);
|
const char *info = dmi_get_system_info(f);
|
||||||
|
|
||||||
|
|
|
@ -785,7 +785,7 @@ static int uw_has_charging_profile(bool *status)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void uw_charging_profile_write_state(void)
|
static void __attribute__ ((unused)) uw_charging_profile_write_state(void)
|
||||||
{
|
{
|
||||||
if (uw_charging_profile_loaded)
|
if (uw_charging_profile_loaded)
|
||||||
uw_set_charging_profile(uw_charging_profile_last_written_value);
|
uw_set_charging_profile(uw_charging_profile_last_written_value);
|
||||||
|
|
Loading…
Reference in a new issue