Skip to content

Commit

Permalink
staging/xgifb: remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 3567f97 commit ef23b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ef23b21

Please sign in to comment.