[PATCH] neofb: Fix uninitialized value

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>

authored by Antonino A. Daplas and committed by Linus Torvalds 6af7ffc4 1a4520be

+1 -3
+1 -3
drivers/video/neofb.c
··· 486 486 static inline int neo2200_sync(struct fb_info *info) 487 487 { 488 488 struct neofb_par *par = info->par; 489 - int waitcycles; 490 489 491 - while (readl(&par->neo2200->bltStat) & 1) 492 - waitcycles++; 490 + while (readl(&par->neo2200->bltStat) & 1); 493 491 return 0; 494 492 } 495 493