summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_drv.c1
-rw-r--r--linux/drm_drv.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 69d3003c..8f42e357 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -627,7 +627,6 @@ static int __init drm_init( void )
}
/* no fbdev or vesadev, put things back and wait for normal probe */
pci_release_regions(pdev);
- pci_dev_put(pdev);
}
}
diff --git a/linux/drm_drv.h b/linux/drm_drv.h
index 69d3003c..8f42e357 100644
--- a/linux/drm_drv.h
+++ b/linux/drm_drv.h
@@ -627,7 +627,6 @@ static int __init drm_init( void )
}
/* no fbdev or vesadev, put things back and wait for normal probe */
pci_release_regions(pdev);
- pci_dev_put(pdev);
}
}