summaryrefslogtreecommitdiffstats
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/reader_pcsc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sim/reader_pcsc.c b/src/sim/reader_pcsc.c
index c52df31f..f020142e 100644
--- a/src/sim/reader_pcsc.c
+++ b/src/sim/reader_pcsc.c
@@ -71,8 +71,6 @@ static struct osim_reader_hdl *pcsc_reader_open(int num, const char *id, void *c
rc = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL,
&st->hContext);
PCSC_ERROR(rc, "SCardEstablishContext");
- if (rc != SCARD_S_SUCCESS)
- goto end;
dwReaders = SCARD_AUTOALLOCATE;
rc = SCardListReaders(st->hContext, NULL, (LPSTR)&mszReaders, &dwReaders);