]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/winbond/wbusb.c
Staging: w35und: remove ->shutdown from struct wbsoft_priv
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / wbusb.c
index b981662a96a32e03258b3710f2dfa7d44246947f..cb4dee566f7f071d882a44fb26931bce86555d3a 100644 (file)
@@ -302,8 +302,7 @@ error:
        case 4:
        case 3: Mds_Destroy( priv );
        case 2:
-       case 1: WBLINUX_stop(priv);
-               hal_halt( pHwData, NULL );
+       case 1: hal_halt( pHwData, NULL );
        case 0: break;
        }
 
@@ -402,9 +401,6 @@ static void wb35_hw_halt(struct wbsoft_priv *adapter)
 #endif
        msleep(100);// Waiting Irp completed
 
-       // Destroy the NDIS module
-       WBLINUX_stop(adapter);
-
        // Halt the HAL
        hal_halt(&adapter->sHwData, NULL);
 }