Skip to content

Commit

Permalink
V4L/DVB (5768): Ivtv: fix converity warning
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 Jul 18, 2007
1 parent 4052fcc commit 27b5a39
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/media/video/ivtv/ivtv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1289,10 +1289,7 @@ static void ivtv_remove(struct pci_dev *pci_dev)

IVTV_DEBUG_INFO(" Releasing irq.\n");
free_irq(itv->dev->irq, (void *)itv);

if (itv->dev) {
ivtv_iounmap(itv);
}
ivtv_iounmap(itv);

IVTV_DEBUG_INFO(" Releasing mem.\n");
release_mem_region(itv->base_addr, IVTV_ENCODER_SIZE);
Expand Down

0 comments on commit 27b5a39

Please sign in to comment.