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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
1d08160131
commit
cba627a51a
@@ -904,8 +904,7 @@ static void cx18_remove(struct pci_dev *pci_dev)
|
|||||||
|
|
||||||
free_irq(cx->dev->irq, (void *)cx);
|
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);
|
release_mem_region(cx->base_addr, CX18_MEM_SIZE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user