mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 21:44:23 -04: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 @@ static int rtl8192_pci_probe(struct pci_dev *pdev,
|
||||
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