summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-09-16 17:50:11 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-10-18 23:43:21 +0200
commit9bf2850c9170b52a6ab052085feced55effa78ef (patch)
tree139a7166e949dcd6cce058b39c9fab442a123b33
parentextract and use FILE_LINE macro (diff)
downloadlinux-9bf2850c9170b52a6ab052085feced55effa78ef.tar.xz
linux-9bf2850c9170b52a6ab052085feced55effa78ef.zip
kstrtox: remove strtobool()
The conversion from strtobool() to kstrtobool() is completed. So strtobool() can now be removed. Link: https://lkml.kernel.org/r/87e3cc2547df174cd5af1fadbf866be4ef9e8e45.1694878151.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--include/linux/kstrtox.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kstrtox.h b/include/linux/kstrtox.h
index 529974e22ea7..7fcf29a4e0de 100644
--- a/include/linux/kstrtox.h
+++ b/include/linux/kstrtox.h
@@ -147,9 +147,4 @@ extern long simple_strtol(const char *,char **,unsigned int);
extern unsigned long long simple_strtoull(const char *,char **,unsigned int);
extern long long simple_strtoll(const char *,char **,unsigned int);
-static inline int strtobool(const char *s, bool *res)
-{
- return kstrtobool(s, res);
-}
-
#endif /* _LINUX_KSTRTOX_H */