e_input: remove unused member variable 'touch_device_count' from E_Input struct 63/308163/1
authorduna.oh <duna.oh@samsung.com>
Mon, 18 Mar 2024 10:27:47 +0000 (19:27 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 19 Mar 2024 02:23:27 +0000 (11:23 +0900)
Change-Id: Ia9d2737adf3c49028b18a6195b73be51e99abcf2

src/bin/e_input.c
src/bin/e_input_evdev.c
src/include/e_input.h

index 409ae72..d8052cc 100644 (file)
@@ -175,7 +175,6 @@ e_input_init(Ecore_Evas *ee)
    e_input->input_base_dir = eina_stringshare_add("/dev/input");
    e_input->use_thread = EINA_FALSE;
 
-   e_input->touch_device_count = 0;
    e_input->touch_max_count = 1;//This is going to updated when a touch device is attached.
 
    dev = e_input_device_open();
index 1de3a80..0cbe09c 100644 (file)
@@ -184,8 +184,7 @@ _device_touch_count_update(E_Input_Evdev *edev)
           }
      }
 
-   ei->touch_device_count++;
-   ELOGF("E_INPUT_EVDEV_TOUCH", "Touch device count is %d.\n", NULL, ei->touch_device_count);
+   ELOGF("E_INPUT_EVDEV_TOUCH", "Touch max count is %d.\n", NULL, ei->touch_max_count);
 }
 
 static void
index 1066085..58a2cdb 100644 (file)
@@ -63,7 +63,6 @@ struct _E_Input
 
    Eina_Bool use_thread : 1;
    unsigned int touch_max_count;
-   unsigned int touch_device_count;
 
    e_input_relative_motion_cb relative_motion_handler;
    e_input_keyboard_grab_key_cb keyboard_grab_key_handler;