[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <425abf06a3fceaab7d00ea5d4d5b28e5db4f2002.1279817399.git.andy.shevchenko@gmail.com>
Date: Thu, 22 Jul 2010 19:57:07 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>,
devel@...verdev.osuosl.org
Cc: Andy Shevchenko <andy.shevchenko@...il.com>
Subject: [PATCH 1/5] staging: remove unused methods
This is rebased version of the patch [1] which was mysteriously not
pushed anywhere but acked.
Here are two methods to convert hex value to binary format. These
certain methods aren't used anywhere in kernel.
[1] http://lkml.org/lkml/2010/2/18/267
Signed-off-by: Andy Shevchenko <andy.shevchenko@...il.com>
Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
---
drivers/staging/otus/apdbg.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/drivers/staging/otus/apdbg.c b/drivers/staging/otus/apdbg.c
index 32c26e5..09415a6 100644
--- a/drivers/staging/otus/apdbg.c
+++ b/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)
--
1.7.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists