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
1 changed files with 2 additions and 0 deletions
|
@ -760,11 +760,13 @@ static int pcsc_initiator_select_passive_target(struct nfc_device *pnd, const n
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static int pcsc_initiator_deselect_target(struct nfc_device *pnd)
|
static int pcsc_initiator_deselect_target(struct nfc_device *pnd)
|
||||||
{
|
{
|
||||||
pnd->last_error = pcsc_reconnect(pnd, SCARD_SHARE_DIRECT, 0, SCARD_LEAVE_CARD);
|
pnd->last_error = pcsc_reconnect(pnd, SCARD_SHARE_DIRECT, 0, SCARD_LEAVE_CARD);
|
||||||
return pnd->last_error;
|
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)
|
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…
Reference in a new issue