staging: rtl8192e: 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>
This commit is contained in:
Sachin Kamat
2013-09-25 16:45:19 -07:00
committed by Greg Kroah-Hartman
parent 02eb261da3
commit 28432995fc
@@ -2982,7 +2982,6 @@ err_rel_rtllib:
free_rtllib(dev);
DMESG("wlan driver load failed\n");
pci_set_drvdata(pdev, NULL);
err_pci_disable:
pci_disable_device(pdev);
return err;