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>
This commit is contained in:
Eric Sesterhenn 2006-10-20 14:35:59 -07:00 коммит произвёл Dave Airlie
Родитель a77b895001
Коммит f84fcb06a1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -664,7 +664,7 @@ intelfbhw_print_hw_state(struct intelfb_info *dinfo, struct intelfb_hwstate *hw)
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");