Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christophe JAILLET and committed by
Andrew Morton
9bf2850c 5097a69d

-5
-5
include/linux/kstrtox.h
··· 147 147 extern unsigned long long simple_strtoull(const char *,char **,unsigned int); 148 148 extern long long simple_strtoll(const char *,char **,unsigned int); 149 149 150 - static inline int strtobool(const char *s, bool *res) 151 - { 152 - return kstrtobool(s, res); 153 - } 154 - 155 150 #endif /* _LINUX_KSTRTOX_H */