Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205961
b: refs/heads/master
c: 3cda5bf
h: refs/heads/master
i:
  205959: 89ff387
v: v3
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent e3ec508 commit 3987f74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e02644184c0e925206f3cf19fd681065a507f05c
refs/heads/master: 3cda5bf1df1f336b3ad78a53d92e1106d40fb241
22 changes: 0 additions & 22 deletions trunk/drivers/staging/otus/apdbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3987f74

Please sign in to comment.