* [PATCH resend] kstrtox: Remove strtobool()
@ 2023-09-16 15:50 Christophe JAILLET
2023-09-18 6:56 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2023-09-16 15:50 UTC (permalink / raw)
To: akpm, andriy.shevchenko; +Cc: linux-kernel, kernel-janitors, Christophe JAILLET
The conversion from strtobool() to kstrtobool() is completed.
So strtobool() can now be removed.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
v6.6-rc1 has no more reference to strtobool() (except a version local to
tools/)
The previous post is:
https://lore.kernel.org/all/23d2ea6b90579207e87cc1bf64fc4eed1ed9f173.1689885328.git.christophe.jaillet@wanadoo.fr/
---
include/linux/kstrtox.h | 5 -----
1 file changed, 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 */
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH resend] kstrtox: Remove strtobool()
2023-09-16 15:50 [PATCH resend] kstrtox: Remove strtobool() Christophe JAILLET
@ 2023-09-18 6:56 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2023-09-18 6:56 UTC (permalink / raw)
To: Christophe JAILLET; +Cc: akpm, linux-kernel, kernel-janitors
On Sat, Sep 16, 2023 at 05:50:11PM +0200, Christophe JAILLET wrote:
> The conversion from strtobool() to kstrtobool() is completed.
> So strtobool() can now be removed.
Thank you for this cleaning up and previous work you have done to make this
occur!
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-18 6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16 15:50 [PATCH resend] kstrtox: Remove strtobool() Christophe JAILLET
2023-09-18 6:56 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox