hi,
all callers and the function itself dereference dinfo,
so we can remove the check. (coverity id #1371)
Signed-off-by: Eric Sesterhenn <[email protected]>
--- linux-2.6.18-git7/drivers/video/intelfb/intelfbhw.c.orig 2006-09-27 21:47:46.000000000 +0200
+++ linux-2.6.18-git7/drivers/video/intelfb/intelfbhw.c 2006-09-27 21:48:04.000000000 +0200
@@ -648,7 +648,7 @@ intelfbhw_print_hw_state(struct intelfb_
int index = dinfo->pll_index;
DBG_MSG("intelfbhw_print_hw_state\n");
- if (!hw || !dinfo)
+ if (!hw)
return;
/* Read in as much of the HW state as possible. */
printk("hw state dump start\n");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]