From: Shobhit Date: Wed, 9 Jul 2014 15:39:50 +0000 (+0900) Subject: genlist: Removed unnecessary condition check. X-Git-Tag: upstream/1.20.0~7116^2~14^2~2351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32c3bf41b50f3c7555040255b70b98786f5b0b88;p=platform%2Fupstream%2Fefl.git genlist: Removed unnecessary condition check. Summary: Removed condition check from _elm_genlist_elm_widget_item_loop_enabled_set() Reviewers: seoz CC: sachin.dev Differential Revision: https://phab.enlightenment.org/D1144 --- diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index c596c2a..5f7094e 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -7535,7 +7535,6 @@ _elm_genlist_elm_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data * EOLIAN static void _elm_genlist_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bool enable) { - if (sd->item_loop_enable == enable) return; sd->item_loop_enable = !!enable; }