diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 15:41:36 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 16:45:19 -0700 |
commit | 28432995fc624b3becc2428a4cdcebbe2231f63f (patch) | |
tree | 95ba55c785b0c3ec167d18b0e299c43f91961ad3 /drivers/staging/rtl8192e | |
parent | 02eb261da392d3ea64ccce6f118c7d151d4e30c5 (diff) | |
download | linux-28432995fc624b3becc2428a4cdcebbe2231f63f.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index e06844355551..7d322f3980e1 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -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; |