staging/xgifb: remove unused variable
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 19 Mar 2012 17:50:11 +0000 (21:50 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:52:57 +0000 (09:52 -0700)
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>
drivers/staging/xgifb/XGI_main_26.c

index 21c037827de40992a1d4095971cfd60d7864fb2c..641fd8d18242d3d2a2dbaec09090bdb2e419826a 100644 (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;