[Pcsclite-cvs-commit] r5317 - /trunk/PCSC/src/hotplug_libhal.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Oct 14 09:35:14 UTC 2010
Author: rousseau
Date: Thu Oct 14 09:35:08 2010
New Revision: 5317
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5317
Log:
ifdCapabilities driver feature is not used with libhal (and has never
been).
Remove dead/unused code.
Modified:
trunk/PCSC/src/hotplug_libhal.c
Modified: trunk/PCSC/src/hotplug_libhal.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_libhal.c?rev=5317&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_libhal.c (original)
+++ trunk/PCSC/src/hotplug_libhal.c Thu Oct 14 09:35:08 2010
@@ -62,7 +62,6 @@
char *bundleName;
char *libraryPath;
char *readerName;
- int ifdCapabilities;
char *CFBundleName;
} *driverTracker = NULL;
#define DRIVER_TRACKER_SIZE_STEP 8
@@ -139,7 +138,6 @@
list_t *manuIDs, *productIDs, *readerNames;
char *CFBundleName;
char *libraryPath;
- int ifdCapabilities;
/*
* The bundle exists - let's form a full path name and get the
@@ -162,10 +160,6 @@
libraryPath);
fullLibPath[sizeof(fullLibPath) - 1] = '\0';
- /* Get ifdCapabilities */
- GET_KEY(PCSCLITE_HP_CPCTKEY_NAME, &values)
- ifdCapabilities = strtol(list_get_at(values, 0), NULL, 16);
-
GET_KEY(PCSCLITE_HP_MANUKEY_NAME, &manuIDs)
GET_KEY(PCSCLITE_HP_PRODKEY_NAME, &productIDs)
GET_KEY(PCSCLITE_HP_NAMEKEY_NAME, &readerNames)
@@ -195,7 +189,6 @@
/* constant entries for a same driver */
driverTracker[listCount].bundleName = strdup(currFP->d_name);
driverTracker[listCount].libraryPath = strdup(fullLibPath);
- driverTracker[listCount].ifdCapabilities = ifdCapabilities;
driverTracker[listCount].CFBundleName = CFBundleName;
#ifdef DEBUG_HOTPLUG
@@ -230,7 +223,6 @@
driverTracker[i].bundleName = NULL;
driverTracker[i].libraryPath = NULL;
driverTracker[i].readerName = NULL;
- driverTracker[i].ifdCapabilities = 0;
driverTracker[i].CFBundleName = NULL;
}
}
More information about the Pcsclite-cvs-commit
mailing list