mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 01:32:47 +07:00
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>
This commit is contained in:
parent
3567f97965
commit
ef23b21061
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user