projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4520b
)
[PATCH] neofb: Fix uninitialized value
author
Antonino A. Daplas
<adaplas@gmail.com>
Sat, 11 Mar 2006 11:27:20 +0000
(
03:27
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 11 Mar 2006 17:19:35 +0000
(09:19 -0800)
Remove insignificant and unitialized variable "waitcycles" from neo2200_sync.
Coverity Bug 895
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/neofb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/neofb.c
b/drivers/video/neofb.c
index a2e201dc40f774a57976d1b41201cfb9aa574031..b961d5601bd90a7242830a33b1fbe6e12f830de3 100644
(file)
--- a/
drivers/video/neofb.c
+++ b/
drivers/video/neofb.c
@@
-486,10
+486,8
@@
static void vgaHWRestore(const struct fb_info *info,
static inline int neo2200_sync(struct fb_info *info)
{
struct neofb_par *par = info->par;
- int waitcycles;
- while (readl(&par->neo2200->bltStat) & 1)
- waitcycles++;
+ while (readl(&par->neo2200->bltStat) & 1);
return 0;
}