]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/utils.c
[NET] core/utils.c: digit2bin is dead static inline
[linux-2.6-omap-h63xx.git] / net / core / utils.c
index 34459c4c740c91ba3f17f1946e4aa3e591ea1990..8031eb59054e057f4556f0cf4f4d251020f57b0d 100644 (file)
@@ -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')