From: Sachin Kamat Date: Fri, 20 Sep 2013 10:11:36 +0000 (+0530) Subject: staging: rtl8192e: Remove redundant pci_set_drvdata X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=28432995fc624b3becc2428a4cdcebbe2231f63f;p=linux-beck.git staging: rtl8192e: Remove redundant pci_set_drvdata Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- 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;