Skip to content

Commit

Permalink
V4L/DVB (7890): cx18: removed bogus and confusing conditional
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed May 14, 2008
1 parent 1d08160 commit cba627a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/cx18/cx18-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cba627a

Please sign in to comment.