Skip to content

Commit 9bf2850

Browse files
tititiou36akpm00
authored andcommitted
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 5097a69 commit 9bf2850

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/linux/kstrtox.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,4 @@ extern long simple_strtol(const char *,char **,unsigned int);
147147
extern unsigned long long simple_strtoull(const char *,char **,unsigned int);
148148
extern long long simple_strtoll(const char *,char **,unsigned int);
149149

150-
static inline int strtobool(const char *s, bool *res)
151-
{
152-
return kstrtobool(s, res);
153-
}
154-
155150
#endif /* _LINUX_KSTRTOX_H */

0 commit comments

Comments
 (0)