mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-23 18:50:05 +00:00
pcsc: remove unused function pcsc_initiator_deselect_target
pcsc.c:763:12: warning: ‘pcsc_initiator_deselect_target’ defined but not used [-Wunused-function]
static int pcsc_initiator_deselect_target(struct nfc_device *pnd)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
5294c0290f
commit
63cf0acb0b
@ -760,11 +760,13 @@ static int pcsc_initiator_select_passive_target(struct nfc_device *pnd, const n
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int pcsc_initiator_deselect_target(struct nfc_device *pnd)
|
||||
{
|
||||
pnd->last_error = pcsc_reconnect(pnd, SCARD_SHARE_DIRECT, 0, SCARD_LEAVE_CARD);
|
||||
return pnd->last_error;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int pcsc_initiator_transceive_bytes(struct nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRx, int timeout)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user