diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-01-13 05:28:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:01:58 (GMT) |
commit | 8519660b98349fb922157fa2f5fb6e49eb17ad38 (patch) | |
tree | 8926aeb782fba0932e1f3259e2619dabfc0065ce | |
parent | 112d8cfcbf4f5ef0cf669cb5864f1206972076d6 (diff) | |
download | linux-fsl-qoriq-8519660b98349fb922157fa2f5fb6e49eb17ad38.tar.xz |
[NET] core/utils.c: digit2bin is dead static inline
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/utils.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/core/utils.c b/net/core/utils.c index 34459c4..8031eb5 100644 --- a/net/core/utils.c +++ b/net/core/utils.c @@ -91,17 +91,6 @@ EXPORT_SYMBOL(in_aton); #define IN6PTON_NULL 0x20000000 /* first/tail */ #define IN6PTON_UNKNOWN 0x40000000 -static inline int digit2bin(char c, int delim) -{ - if (c == delim || c == '\0') - return IN6PTON_DELIM; - if (c == '.') - return IN6PTON_DOT; - if (c >= '0' && c <= '9') - return (IN6PTON_DIGIT | (c - '0')); - return IN6PTON_UNKNOWN; -} - static inline int xdigit2bin(char c, int delim) { if (c == delim || c == '\0') |