projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5097a69
)
kstrtox: remove strtobool()
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 16 Sep 2023 15:50:11 +0000
(17:50 +0200)
committer
Andrew Morton
<akpm@linux-foundation.org>
Wed, 18 Oct 2023 21:43:21 +0000
(14:43 -0700)
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>
include/linux/kstrtox.h
patch
|
blob
|
history
diff --git
a/include/linux/kstrtox.h
b/include/linux/kstrtox.h
index 529974e22ea799adf5c07b48d803ac9bfc1f85a4..7fcf29a4e0de4d14b38855073059437f11879105 100644
(file)
--- 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 */