Commit f84fcb06 authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by Dave Airlie
Browse files

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: default avatarEric Sesterhenn <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarDave Airlie <>
parent a77b8950
......@@ -664,7 +664,7 @@ intelfbhw_print_hw_state(struct intelfb_info *dinfo, struct intelfb_hwstate *hw)
int index = dinfo->pll_index;
if (!hw || !dinfo)
if (!hw)
/* Read in as much of the HW state as possible. */
printk("hw state dump start\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment