提交 ef23b210 编写于 作者: D Dmitry Eremin-Solenikov 提交者: Greg Kroah-Hartman

staging/xgifb: remove unused variable

In function XGIfb_do_set_var() remove unused variable sr_data.
Signed-off-by: NDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 3567f979
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册