diff -r c1f20ce4abcf -r 3e88ff8f41d5 kernel/eka/include/d32usbcsc.inl --- a/kernel/eka/include/d32usbcsc.inl Tue Aug 31 16:34:26 2010 +0300 +++ b/kernel/eka/include/d32usbcsc.inl Wed Sep 01 12:34:56 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 1995-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -118,19 +118,10 @@ /** @capability CommDD */ -inline TInt RDevUsbcScClient::Open(TInt aUnit, TBool aShare) +inline TInt RDevUsbcScClient::Open(TInt aUnit) { _LIT(KUsbDevName, "usbcsc"); - return (DoCreate(KUsbDevName, VersionRequired(), aUnit, NULL, NULL, EOwnerThread, aShare)); - } - -inline TInt RDevUsbcScClient::Open(RMessagePtr2 aMessage,TInt aParam,TOwnerType aType) - { - iEndpointStatus = 0; - iAltSettingSeq = 0; - iAlternateSetting = 0; - iNewAltSetting = 0; - return RBusLogicalChannel::Open(aMessage,aParam,aType); + return (DoCreate(KUsbDevName, VersionRequired(), aUnit, NULL, NULL, EOwnerThread)); } @@ -723,8 +714,6 @@ return DoControl(EControlStartNextInAlternateSetting); } - - //Buffer Interface Layer (BIL) inline functions @@ -741,12 +730,6 @@ return iEndpointNumber; } -inline TInt TEndpointBuffer::BufferNumber() - { - return iBufferNum; - } - - #endif // #ifndef __KERNEL_MODE__ #endif // #ifndef __D32USBCSC_INL__