summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-06-16 21:46:56 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-06-16 21:46:56 +0200
commit9786d2951fa42e9c2fb02f022a3fc3ca2e55b645 (patch)
tree09630448568137a00d00355e5f427e50b4ab4e3b /linux/drivers/media/video/ivtv/ivtv-driver.c
parent35133745a136eb4cdf08bd6095e5ab2c0d7d6c07 (diff)
downloadmediapointer-dvb-s2-9786d2951fa42e9c2fb02f022a3fc3ca2e55b645.tar.gz
mediapointer-dvb-s2-9786d2951fa42e9c2fb02f022a3fc3ca2e55b645.tar.bz2
ivtv: fix converity warning
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-driver.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-driver.c b/linux/drivers/media/video/ivtv/ivtv-driver.c
index b0c11d90e..f10d4e7c5 100644
--- a/linux/drivers/media/video/ivtv/ivtv-driver.c
+++ b/linux/drivers/media/video/ivtv/ivtv-driver.c
@@ -1293,10 +1293,7 @@ static void ivtv_remove(struct pci_dev *pci_dev)
IVTV_DEBUG_INFO(" Releasing irq.\n");
free_irq(itv->dev->irq, (void *)itv);
-
- if (itv->dev) {
- ivtv_iounmap(itv);
- }
+ ivtv_iounmap(itv);
IVTV_DEBUG_INFO(" Releasing mem.\n");
release_mem_region(itv->base_addr, IVTV_ENCODER_SIZE);