]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/wlags49_h2/wl_pci.c
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / drivers / staging / wlags49_h2 / wl_pci.c
index 020b17adee2d27bcc20fddb21df10d00451570cf..28ae9dd1b44ef0c0c1cfc9c052b57cfdc66d2d24 100644 (file)
@@ -458,7 +458,7 @@ void __devexit wl_pci_remove(struct pci_dev *pdev)
         return;
     }
 
-    dev = (struct net_device *)pci_get_drvdata( pdev );
+    dev = pci_get_drvdata( pdev );
     if( dev == NULL ) {
         DBG_ERROR( DbgInfo, "Could not retrieve net_device structure\n" );
         return;