summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-05-12 16:48:26 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-05-12 16:48:26 +0200
commit5207c61e188f798fc4ab68d3281596958aa23fcc (patch)
tree5aaa2803b0d739422e27e23378c9877d30f33cf4 /linux/drivers/media/video/cx18/cx18-driver.c
parent8a93f875f1df51b42492ef17f046c66d8e17c396 (diff)
downloadmediapointer-dvb-s2-5207c61e188f798fc4ab68d3281596958aa23fcc.tar.gz
mediapointer-dvb-s2-5207c61e188f798fc4ab68d3281596958aa23fcc.tar.bz2
cx18: removed bogus and confusing conditional
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c
index 4aafeaa9b..008745af2 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.c
+++ b/linux/drivers/media/video/cx18/cx18-driver.c
@@ -904,8 +904,7 @@ static void cx18_remove(struct pci_dev *pci_dev)
free_irq(cx->dev->irq, (void *)cx);
- if (cx->dev)
- cx18_iounmap(cx);
+ cx18_iounmap(cx);
release_mem_region(cx->base_addr, CX18_MEM_SIZE);