public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/media/video/ivtv/ivtv-driver.c: check-after-use
@ 2007-06-15 20:57 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-06-15 20:57 UTC (permalink / raw)
  To: Hans Verkuil, Mauro Carvalho Chehab; +Cc: v4l-dvb-maintainer, linux-kernel

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

-- 

       "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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-15 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-15 20:57 drivers/media/video/ivtv/ivtv-driver.c: check-after-use Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox