summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-05-12 14:48:26 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-14 02:56:45 -0300
commitcba627a51a26eaed3526c423f5fd0410dd721ae2 (patch)
tree36467948e6f261e74fce44e4d66a1bb7cbb2a594 /drivers
parent1d081601315f5c9b9537b702bcb2c8d96fc089ef (diff)
downloadlinux-cba627a51a26eaed3526c423f5fd0410dd721ae2.tar.gz
linux-cba627a51a26eaed3526c423f5fd0410dd721ae2.tar.bz2
linux-cba627a51a26eaed3526c423f5fd0410dd721ae2.zip
V4L/DVB (7890): cx18: removed bogus and confusing conditional
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx18/cx18-driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 98e1bddc290b..0dd4e0529970 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/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);