diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 67d9a8f61957..28a53c42020d 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -1289,10 +1289,7 @@ static void ivtv_remove(struct pci_dev *pci_dev) | |||
1289 | 1289 | ||
1290 | IVTV_DEBUG_INFO(" Releasing irq.\n"); | 1290 | IVTV_DEBUG_INFO(" Releasing irq.\n"); |
1291 | free_irq(itv->dev->irq, (void *)itv); | 1291 | free_irq(itv->dev->irq, (void *)itv); |
1292 | 1292 | ivtv_iounmap(itv); | |
1293 | if (itv->dev) { | ||
1294 | ivtv_iounmap(itv); | ||
1295 | } | ||
1296 | 1293 | ||
1297 | IVTV_DEBUG_INFO(" Releasing mem.\n"); | 1294 | IVTV_DEBUG_INFO(" Releasing mem.\n"); |
1298 | release_mem_region(itv->base_addr, IVTV_ENCODER_SIZE); | 1295 | release_mem_region(itv->base_addr, IVTV_ENCODER_SIZE); |