summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-20 02:06:28 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-20 02:06:28 +0100
commitddebede201d2514949480b17111ff21f92ab6cea (patch)
tree1d81954c0733eef11784fae95463dd1b5b47fb10
parentf5c2fd3e11ba970fe7f39a724761445669a2679c (diff)
downloadk8055-ddebede201d2514949480b17111ff21f92ab6cea.zip
k8055-ddebede201d2514949480b17111ff21f92ab6cea.tar.gz
remove unused global data_in and data_out
-rw-r--r--libk8055/libk8055.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libk8055/libk8055.c b/libk8055/libk8055.c
index 2b1d959..296f9cb 100644
--- a/libk8055/libk8055.c
+++ b/libk8055/libk8055.c
@@ -131,9 +131,6 @@ struct k8055_dev {
static struct k8055_dev k8055d[K8055_MAX_DEV];
static struct k8055_dev *curr_dev;
-/* Keep these globals for now */
-unsigned char *data_in, *data_out;
-
/* char* device_id[]; */
/* Initialize the usb library - only once */
@@ -317,8 +314,6 @@ long SetCurrentDevice(long deviceno)
if (k8055d[deviceno].DevNo != 0)
{
curr_dev = &k8055d[deviceno];
- data_in = curr_dev->data_in;
- data_out = curr_dev->data_out;
return deviceno;
}
}