Browse Source

staging: vt6655: Remove redundant pci_set_drvdata

Driver core sets driver data to NULL upon failure or remove.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sachin Kamat 12 years ago
parent
commit
27e811075b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/staging/vt6655/device_main.c

+ 0 - 4
drivers/staging/vt6655/device_main.c

@@ -1153,10 +1153,6 @@ static void device_free_info(PSDevice pDevice) {
 		pci_release_regions(pDevice->pcid);
 		pci_release_regions(pDevice->pcid);
 	if (dev)
 	if (dev)
 		free_netdev(dev);
 		free_netdev(dev);
-
-	if (pDevice->pcid) {
-		pci_set_drvdata(pDevice->pcid, NULL);
-	}
 }
 }
 
 
 static bool device_init_rings(PSDevice pDevice) {
 static bool device_init_rings(PSDevice pDevice) {