projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a77b895
)
Remove unnecessary check in drivers/video/intelfb/intelfbhw.c
author
Eric Sesterhenn
<snakebyte@gmx.de>
Fri, 20 Oct 2006 21:35:59 +0000
(14:35 -0700)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 25 Oct 2006 19:05:18 +0000
(12:05 -0700)
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>
drivers/video/intelfb/intelfbhw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/intelfb/intelfbhw.c
b/drivers/video/intelfb/intelfbhw.c
index eae60f97e2661d650d2ca772deba54155940c955..a95836839e1e965d29739662a1e7ca95a70edef0 100644
(file)
--- 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)
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");