mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
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:
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;
|
||||
|
||||
Reference in New Issue
Block a user