X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=drivers%2Fhwmon%2Fk10temp.c;h=d65f3fd895ddda22d23164f1a0c94c870b77e2ce;hb=83285c72e08c42848808039ef2d3b67a1bb88832;hp=e633856370cf403247d5a44152f776fc39e56241;hpb=1ef68ec462571955f2a667ddf1ffe279848709d7;p=deliverable%2Flinux.git diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index e633856370cf..d65f3fd895dd 100644 --- 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) = {