Skip to contentSkip to conversation

drivers/media/video/ivtv/ivtv-driver.c: check-after-use

DISCUSSION Adrian Bunk 1 participant 1 message Jun 15, 2007

lore
Share & tools
lore
#0 lore raw

The Coverity checker spotted the following obvious check-after-use in drivers/media/video/ivtv/ivtv-driver.c:

<-- snip -->

...
static void ivtv_remove(struct pci_dev *pci_dev)
{
...

        free_irq(itv->dev->irq, (void *)itv);

        if (itv->dev) {

...

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed