2014-06-03 15:27:07

by Daniel Walter

[permalink] [raw]
Subject: [PATCH v2 11/11] [include/linux] remove strict_strto* definitions

From: Daniel Walter <[email protected]>
Subject: [PATCH v2 11/11] [include/linux] remove strict_strto* definitions

Remove obsolete and unused strict_strto* functions

Signed-off-by: Daniel Walter <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
---
include/linux/kernel.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 4c52907..a39043c 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -376,10 +376,6 @@ extern unsigned long simple_strtoul(const char *,char **,unsigned int);
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);
-#define strict_strtoul kstrtoul
-#define strict_strtol kstrtol
-#define strict_strtoull kstrtoull
-#define strict_strtoll kstrtoll

extern int num_to_str(char *buf, int size, unsigned long long num);

--
1.9.3