diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 15:41:38 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 16:45:18 -0700 |
commit | 27e811075b694ea28d8f167b6763785002a4ec40 (patch) | |
tree | cdbcee3e9ac07d894f2a91c58e803e520ec78af4 /drivers/staging/vt6655 | |
parent | fddd143f8ac91e984122b0885dfc3bb86fbad39e (diff) | |
download | linux-27e811075b694ea28d8f167b6763785002a4ec40.tar.bz2 |
staging: vt6655: 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/vt6655')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 7f36a7103c3e..e93fdc88d844 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1153,10 +1153,6 @@ static void device_free_info(PSDevice pDevice) { pci_release_regions(pDevice->pcid); if (dev) free_netdev(dev); - - if (pDevice->pcid) { - pci_set_drvdata(pDevice->pcid, NULL); - } } static bool device_init_rings(PSDevice pDevice) { |