V4L/DVB (7890): cx18: removed bogus and confusing conditional
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 12 May 2008 17:48:26 +0000 (14:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:56:45 +0000 (02:56 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx18/cx18-driver.c

index 98e1bddc290bf2a1f060bcfc01503098dfd80021..0dd4e05299706f83171de37a47ea801fbf8939b9 100644 (file)
@@ -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);