staging: panel: Remove unused variable
[deliverable/linux.git] / drivers / staging / panel / panel.c
index 98325b7b4462ab9d5daa747707ca3ed30e019259..b68a9c3f2d0f486e0a44e8b1387e5910c6d8d98a 100644 (file)
@@ -228,9 +228,6 @@ static struct {
        bool initialized;
        bool must_clear;
 
-       /* TODO: use bool here? */
-       char left_shift;
-
        int height;
        int width;
        int bwidth;
@@ -1135,12 +1132,10 @@ static inline int handle_lcd_special_code(void)
                processed = 1;
                break;
        case 'L':       /* shift display left */
-               lcd.left_shift++;
                lcd_write_cmd(0x18);
                processed = 1;
                break;
        case 'R':       /* shift display right */
-               lcd.left_shift--;
                lcd_write_cmd(0x1C);
                processed = 1;
                break;
@@ -1157,7 +1152,6 @@ static inline int handle_lcd_special_code(void)
        }
        case 'I':       /* reinitialize display */
                lcd_init_display();
-               lcd.left_shift = 0;
                processed = 1;
                break;
        case 'G': {
This page took 0.025439 seconds and 5 git commands to generate.