[Pcsclite-cvs-commit] r4228 - /trunk/Drivers/ccid/src/ccid_usb.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Wed May 27 11:49:47 UTC 2009
Author: rousseau
Date: Wed May 27 11:49:47 2009
New Revision: 4228
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4228
Log:
OpenUSBByName(): no need to get a pointer on the device serial number
from the HAL string
Modified:
trunk/Drivers/ccid/src/ccid_usb.c
Modified: trunk/Drivers/ccid/src/ccid_usb.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_usb.c?rev=4228&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c (original)
+++ trunk/Drivers/ccid/src/ccid_usb.c Wed May 27 11:49:47 2009
@@ -156,7 +156,6 @@
unsigned int device_vendor, device_product;
#endif
char *dirname = NULL, *filename = NULL;
- char *serial = NULL;
int interface_number = -1;
static int previous_reader_index = -1;
@@ -236,7 +235,6 @@
/* search the '_' before SERIAL */
&& (p = strchr(++p, '_'))
- && (serial = p+1)
/* search the '_' before ifX */
&& (p = strchr(++p, '_'))
More information about the Pcsclite-cvs-commit
mailing list