e_hwc_windows: remove redundant codes 07/218607/2
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Tue, 26 Nov 2019 02:58:57 +0000 (10:58 +0800)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Fri, 29 Nov 2019 06:46:54 +0000 (06:46 +0000)
Local variable target_tsurface is assigned twice here
, remove the first assignment which is unnecessary

Change-Id: I0d95bfec17825cef6c958934b0b9767bb67bbc1d
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
src/bin/e_hwc_windows.c

index 2ed33c644befc8c71e23f90fe1f381af95953f44..6d847e4d216fab29e5c3f0d77762e4bfd78ea30c 100644 (file)
@@ -2833,8 +2833,6 @@ _e_hwc_windows_presentation_evaluation_check(E_Hwc *hwc)
    target_hwc_window = hwc->target_hwc_window;
    EINA_SAFETY_ON_NULL_RETURN_VAL(target_hwc_window, EINA_FALSE);
 
-   target_tsurface = target_hwc_window->hwc_window.buffer.tsurface;
-
    queue = ((E_Hwc_Window *)target_hwc_window)->queue;
    EINA_SAFETY_ON_NULL_RETURN_VAL(queue, EINA_FALSE);