diff -r 5b2a402e96ac -r 25fce757be94 usbengines/usbotgwatcher/src/cusbstatehostundefined.cpp --- a/usbengines/usbotgwatcher/src/cusbstatehostundefined.cpp Thu Aug 19 10:54:11 2010 +0300 +++ b/usbengines/usbotgwatcher/src/cusbstatehostundefined.cpp Tue Aug 31 16:13:57 2010 +0300 @@ -15,7 +15,6 @@ * */ -#include #include "cusbotgwatcher.h" #include "cusbstatehostundefined.h" @@ -169,8 +168,7 @@ // // --------------------------------------------------------------------------- // -void CUsbStateHostUndefined::DriverLoadPartialSuccessL( - TDeviceEventInformation) +void CUsbStateHostUndefined::DriverLoadPartialSuccessL(TDeviceEventInformation) { LOG_FUNC } @@ -210,25 +208,7 @@ void CUsbStateHostUndefined::MessageNotificationReceivedL(TInt aMessage) { LOG_FUNC - LOG1( "aMessage = %d" , aMessage); - - switch (aMessage) - { - // OTGDI - case KErrUsbOtgBadDeviceAttached: - { - LOG( "BadDeviceAttached" ); - HandleL(EUsbWatcherErrUnsupportedDevice, - EUsbStateHostHandleDropping); - break; - } - default: - { - LOG1( "Unhandled message = %d" , aMessage); - break; - } - - } + LOG1( "Unhandled message aMessage = %d" , aMessage); } // ---------------------------------------------------------------------------