gallery: delete null check that has no effect (prevent: 483848) 82/49482/1
authorJehun Lim <jehun.lim@samsung.com>
Tue, 13 Oct 2015 23:46:23 +0000 (08:46 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Wed, 14 Oct 2015 01:05:36 +0000 (10:05 +0900)
Change-Id: I14868a8a4ee19b7b9805c9c12ce8871ee8aed4ec
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
src/layout/gallery.c

index 288cb46..de3bf61 100644 (file)
@@ -192,11 +192,6 @@ static Eina_Bool _create_location(void *data)
 
        priv = data;
 
-       if (!priv->dmgr) {
-               _ERR("failed to get datamgr");
-               return ECORE_CALLBACK_CANCEL;
-       }
-
        dmgr = priv->dmgr[E_DATA_MEDIA];
        if (!dmgr) {
                _ERR("failed to get datamgr");