mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00: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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user