diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-06-16 21:46:56 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-06-16 21:46:56 +0200 |
commit | 9786d2951fa42e9c2fb02f022a3fc3ca2e55b645 (patch) | |
tree | 09630448568137a00d00355e5f427e50b4ab4e3b /linux/drivers/media/video/ivtv/ivtv-driver.c | |
parent | 35133745a136eb4cdf08bd6095e5ab2c0d7d6c07 (diff) | |
download | mediapointer-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.c | 5 |
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); |