diff --git a/[refs] b/[refs] index 21bddcd79a54..ce8f44c1576f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 112d8cfcbf4f5ef0cf669cb5864f1206972076d6 +refs/heads/master: 8519660b98349fb922157fa2f5fb6e49eb17ad38 diff --git a/trunk/net/core/utils.c b/trunk/net/core/utils.c index 34459c4c740c..8031eb59054e 100644 --- a/trunk/net/core/utils.c +++ b/trunk/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')