Commit ef23b210 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Greg Kroah-Hartman

staging/xgifb: remove unused variable

In function XGIfb_do_set_var() remove unused variable sr_data.
Signed-off-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3567f979
...@@ -1088,7 +1088,7 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive, ...@@ -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 unsigned int vtotal = var->upper_margin + var->yres + var->lower_margin
+ var->vsync_len; + var->vsync_len;
#if defined(__powerpc__) #if defined(__powerpc__)
u8 sr_data, cr_data; u8 cr_data;
#endif #endif
unsigned int drate = 0, hrate = 0; unsigned int drate = 0, hrate = 0;
int found_mode = 0; int found_mode = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment