summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2021-07-13 22:52:51 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2021-07-13 22:52:51 +0300
commit611ac726f9ebbb12f2113e5345ef109660954eeb (patch)
tree522735cbdec83a33ec29723b4ddc347118fdae21 /include/linux/string.h
parent5d4ed4f8b5efd347d761ee98c3a6e4e42e23f67e (diff)
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
downloadlinux-611ac726f9ebbb12f2113e5345ef109660954eeb.tar.xz
Merge drm/drm-next into drm-intel-gt-next
Catching up with 5.14-rc1 and also preparing for a needed common topic branch for the "Minor revid/stepping and workaround cleanup" Reference: https://patchwork.freedesktop.org/series/92299/ Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/string.h')
-rw-r--r--include/linux/string.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 9521d8cab18e..b48d2d28e0b1 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -2,7 +2,6 @@
#ifndef _LINUX_STRING_H_
#define _LINUX_STRING_H_
-
#include <linux/compiler.h> /* for inline */
#include <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* for NULL */
@@ -184,12 +183,6 @@ extern char **argv_split(gfp_t gfp, const char *str, int *argcp);
extern void argv_free(char **argv);
extern bool sysfs_streq(const char *s1, const char *s2);
-extern int kstrtobool(const char *s, bool *res);
-static inline int strtobool(const char *s, bool *res)
-{
- return kstrtobool(s, res);
-}
-
int match_string(const char * const *array, size_t n, const char *string);
int __sysfs_match_string(const char * const *array, size_t n, const char *s);