From: Hans Verkuil Date: Mon, 12 May 2008 17:48:26 +0000 (-0300) Subject: V4L/DVB (7890): cx18: removed bogus and confusing conditional X-Git-Tag: v2.6.26-rc3~62^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cba627a51a26eaed3526c423f5fd0410dd721ae2;p=linux-2.6-omap-h63xx.git V4L/DVB (7890): cx18: removed bogus and confusing conditional Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c index 98e1bddc290..0dd4e052997 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);