Fix logically dead code
[platform/core/uifw/isf.git] / ism / modules / panelagent / wayland / isf_wsc_control_ui.cpp
index 48feebc..a7296f2 100644 (file)
@@ -123,7 +123,7 @@ void isf_wsc_context_input_panel_show (WSCContextISF* wsc_ctx)
     iseContext.layout = wsc_context_input_panel_layout_get (wsc_ctx);
 
     /* set angle*/
-    iseContext.angle = (wsc_ctx ? wsc_ctx->angle : 0);
+    iseContext.angle = wsc_ctx->angle;
 
     /* set layout variation in ise context info */
     iseContext.layout_variation = wsc_context_input_panel_layout_variation_get (wsc_ctx);