diff -r 94b923fa11ed -r 63339781d179 wim/Scard/src/ScardConnectionRegistry.cpp --- a/wim/Scard/src/ScardConnectionRegistry.cpp Thu Jul 15 19:36:50 2010 +0300 +++ b/wim/Scard/src/ScardConnectionRegistry.cpp Thu Aug 19 10:45:23 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -105,16 +105,8 @@ TConnectionHandle handle; handle.iClient = aClient; CScardConnector* conn = NULL; - RThread thread; - - TInt err1 = thread.Open( KScardServerName ); - - if ( err1 != KErrNone ) - { - _WIMTRACE(_L("WIM|Scard|CScardConnectionRegistry::ConnectToReaderL|Thread open failed")); - } - TRAPD( err, conn = CScardConnector::NewL( this, thread, aMessage ) ); + TRAPD( err, conn = CScardConnector::NewL( this, aMessage ) ); if ( err ) { #ifdef _DEBUG