hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/linux/string.h
....@@ -2,7 +2,6 @@
22 #ifndef _LINUX_STRING_H_
33 #define _LINUX_STRING_H_
44
5
-
65 #include <linux/compiler.h> /* for inline */
76 #include <linux/types.h> /* for size_t */
87 #include <linux/stddef.h> /* for NULL */
....@@ -183,12 +182,6 @@
183182 extern void argv_free(char **argv);
184183
185184 extern bool sysfs_streq(const char *s1, const char *s2);
186
-extern int kstrtobool(const char *s, bool *res);
187
-static inline int strtobool(const char *s, bool *res)
188
-{
189
- return kstrtobool(s, res);
190
-}
191
-
192185 int match_string(const char * const *array, size_t n, const char *string);
193186 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
194187