forked from Minki/linux
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:
parent
5fc1398725
commit
fddd143f8a
@ -3268,7 +3268,6 @@ fail_free:
|
||||
pci_disable_device(pdev);
|
||||
|
||||
DMESG("wlan driver load failed\n");
|
||||
pci_set_drvdata(pdev, NULL);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user