From: Krzysztof H. <krz...@po...> - 2008-05-07 16:50:16
|
On Wed, 7 May 2008 19:09:44 +0800 <Jos...@vi...> wrote: > Signed-off-by: Joseph Chan <jos...@vi...> > > diff -Nur a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h > --- a/drivers/video/via/viafbdev.h 1969-12-31 19:00:00.000000000 -0500 > +++ b/drivers/video/via/viafbdev.h 2008-04-29 04:27:46.000000000 -0400 > @@ -0,0 +1,114 @@ (...) > + > +struct viafb_par { > + struct fb_var_screeninfo var; > + int bpp; > + int hres; > + int vres; > + int linelength; > + int vclk; /*in MHz */ > + > + int vtotal; > + int vdispend; > + int vsyncstart; > + int vsyncend; > + int vblankstart; > + int vblankend; > + > + int htotal; > + int hdispend; > + int hsyncstart; > + int hsyncend; > + int hblankstart; > + int hblankend; > + > + int accel; /* Acceleration Flags */ A random pick of "accel", "hblankstart" and "hblankend" shows that they are only set and never checked. Try to remove all unused fields here. Regards, Krzysztof ---------------------------------------------------------------------- Lepszy niz zakladki. Kliknij >>> http://link.interia.pl/f1db1 |