usbengines/usbotgwatcher/src/cusbstatehostundefined.cpp
branchRCL_3
changeset 23 25fce757be94
parent 10 f6533aee8b2b
child 24 e02eb84a14d2
--- 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 <d32otgdi_errors.h>
 #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);
     }
 
 // ---------------------------------------------------------------------------