genlist: Removed unnecessary condition check.
authorShobhit <s.parashari@samsung.com>
Wed, 9 Jul 2014 15:39:50 +0000 (00:39 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 9 Jul 2014 15:39:52 +0000 (00:39 +0900)
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

src/lib/elm_genlist.c

index c596c2a..5f7094e 100644 (file)
@@ -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;
 }