From: Zhaowei Yuan Date: Tue, 26 Nov 2019 02:58:57 +0000 (+0800) Subject: e_hwc_windows: remove redundant codes X-Git-Tag: submit/tizen/20191209.065546~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F218607%2F2;p=platform%2Fupstream%2Fenlightenment.git e_hwc_windows: remove redundant codes Local variable target_tsurface is assigned twice here , remove the first assignment which is unnecessary Change-Id: I0d95bfec17825cef6c958934b0b9767bb67bbc1d Signed-off-by: Zhaowei Yuan --- diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index 2ed33c644b..6d847e4d21 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -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);