diff --git a/[refs] b/[refs] index 85eeb2af1d62..340874eb5524 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e02644184c0e925206f3cf19fd681065a507f05c +refs/heads/master: 3cda5bf1df1f336b3ad78a53d92e1106d40fb241 diff --git a/trunk/drivers/staging/otus/apdbg.c b/trunk/drivers/staging/otus/apdbg.c index 32c26e59baf7..09415a6b93ca 100644 --- a/trunk/drivers/staging/otus/apdbg.c +++ b/trunk/drivers/staging/otus/apdbg.c @@ -90,28 +90,6 @@ struct zdap_ioctl { #endif -static char hex(char v) -{ - if (isdigit(v)) - return v - '0'; - else if (isxdigit(v)) - return tolower(v) - 'a' + 10; - else - return 0; -} - -static unsigned char asctohex(char *str) -{ - unsigned char value; - - value = hex(*str) & 0x0f; - value = value << 4; - str++; - value |= hex(*str) & 0x0f; - - return value; -} - char *prgname; int set_ioctl(int sock, struct ifreq *req)