1
0
Fork 0

staging/xgifb: remove unused variable

In function XGIfb_do_set_var() remove unused variable sr_data.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Dmitry Eremin-Solenikov 2012-03-19 21:50:11 +04:00 committed by Greg Kroah-Hartman
parent 3567f97965
commit ef23b21061
1 changed files with 1 additions and 1 deletions

View File

@ -1088,7 +1088,7 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive,
unsigned int vtotal = var->upper_margin + var->yres + var->lower_margin
+ var->vsync_len;
#if defined(__powerpc__)
u8 sr_data, cr_data;
u8 cr_data;
#endif
unsigned int drate = 0, hrate = 0;
int found_mode = 0;