projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (k10temp) remove unnecessary pci_set_drvdata()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
k10temp.c
diff --git
a/drivers/hwmon/k10temp.c
b/drivers/hwmon/k10temp.c
index e633856370cf403247d5a44152f776fc39e56241..d65f3fd895ddda22d23164f1a0c94c870b77e2ce 100644
(file)
--- a/
drivers/hwmon/k10temp.c
+++ b/
drivers/hwmon/k10temp.c
@@
-202,7
+202,6
@@
static void k10temp_remove(struct pci_dev *pdev)
&sensor_dev_attr_temp1_crit.dev_attr);
device_remove_file(&pdev->dev,
&sensor_dev_attr_temp1_crit_hyst.dev_attr);
- pci_set_drvdata(pdev, NULL);
}
static DEFINE_PCI_DEVICE_TABLE(k10temp_id_table) = {