Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 858321 Details for
Bug 902133
app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile with error: ‘dmi_string_in’ defined but not used [-Werror=unused-function]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to solve this issue
tuxedo-keyboard-rm-unused-functions.patch (text/plain), 1.29 KB, created by
Lars
on 2023-03-19 12:45:56 UTC
(
hide
)
Description:
Patch to solve this issue
Filename:
MIME Type:
Creator:
Lars
Created:
2023-03-19 12:45:56 UTC
Size:
1.29 KB
patch
obsolete
>diff --git a/src/tuxedo_io/tuxedo_io.c b/src/tuxedo_io/tuxedo_io.c >index 07e0f02..b8c4e03 100644 >--- a/src/tuxedo_io/tuxedo_io.c >+++ b/src/tuxedo_io/tuxedo_io.c >@@ -49,19 +49,6 @@ static u32 id_check_uniwill; > > static struct uniwill_device_features_t *uw_feats; > >-/** >- * strstr version of dmi_match >- */ >-static bool dmi_string_in(enum dmi_field f, const char *str) >-{ >- const char *info = dmi_get_system_info(f); >- >- if (info == NULL || str == NULL) >- return info == str; >- >- return strstr(info, str) != NULL; >-} >- > static u32 clevo_identify(void) > { > return clevo_get_active_interface_id(NULL) == 0 ? 1 : 0; >diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h >index 2193516..4831c28 100644 >--- a/src/uniwill_keyboard.h >+++ b/src/uniwill_keyboard.h >@@ -58,7 +58,6 @@ > #define UNIWILL_COLOR_DEFAULT 0xffffff > > static void uw_charging_priority_write_state(void); >-static void uw_charging_profile_write_state(void); > > struct tuxedo_keyboard_driver uniwill_keyboard_driver; > >@@ -983,12 +982,6 @@ static int uw_has_charging_profile(bool *status) > return 0; > } > >-static void uw_charging_profile_write_state(void) >-{ >- if (uw_charging_profile_loaded) >- uw_set_charging_profile(uw_charging_profile_last_written_value); >-} >- > static void uw_charging_profile_init(struct platform_device *dev) > { > u8 value;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 902133
:
858317
|
858319
| 858321