diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-10-20 17:35:59 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-10-25 15:05:18 -0400 |
commit | f84fcb06a1f7ab4ac0444ece82b25b0701369641 (patch) | |
tree | 70551a83b673acd2953c34891ee70c0e3c7203c0 /drivers/video/intelfb | |
parent | a77b8950019289611f836c8fc19f91592822efcd (diff) |
Remove unnecessary check in drivers/video/intelfb/intelfbhw.c
All callers and the function itself dereference dinfo, so we can remove the
check. (coverity id #1371)
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/video/intelfb')
-rw-r--r-- | drivers/video/intelfb/intelfbhw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfbhw.c b/drivers/video/intelfb/intelfbhw.c index eae60f97e266..a95836839e1e 100644 --- a/drivers/video/intelfb/intelfbhw.c +++ b/drivers/video/intelfb/intelfbhw.c | |||
@@ -664,7 +664,7 @@ intelfbhw_print_hw_state(struct intelfb_info *dinfo, struct intelfb_hwstate *hw) | |||
664 | int index = dinfo->pll_index; | 664 | int index = dinfo->pll_index; |
665 | DBG_MSG("intelfbhw_print_hw_state\n"); | 665 | DBG_MSG("intelfbhw_print_hw_state\n"); |
666 | 666 | ||
667 | if (!hw || !dinfo) | 667 | if (!hw) |
668 | return; | 668 | return; |
669 | /* Read in as much of the HW state as possible. */ | 669 | /* Read in as much of the HW state as possible. */ |
670 | printk("hw state dump start\n"); | 670 | printk("hw state dump start\n"); |