staging: rtl8187se: 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-20 15:41:35 +05:30 committed by Greg Kroah-Hartman
parent 5fc1398725
commit fddd143f8a

View File

@ -3268,7 +3268,6 @@ fail_free:
pci_disable_device(pdev); pci_disable_device(pdev);
DMESG("wlan driver load failed\n"); DMESG("wlan driver load failed\n");
pci_set_drvdata(pdev, NULL);
return ret; return ret;
} }