Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27b5a395 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5768): Ivtv: fix converity warning

parent 4052fcc7
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -1289,10 +1289,7 @@ static void ivtv_remove(struct pci_dev *pci_dev)


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

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


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