Mesh: Remove duplicate code
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-mesh-dbus-handler.c
index 3ffba9a..e9714b5 100644 (file)
@@ -1497,11 +1497,10 @@ static struct l_dbus_message *__mesh_agent_prompt_static_request(
        l = g_slist_find_custom(mesh_apps, net_uuid,
                        __mesh_compare_network_uuid);
 
-       if (l) {
+       if (l)
                app = l->data;
-       } else {
+       else
                ERR("Mesh: app not found");
-       }
 
 
        memset(&ev, 0, sizeof(ev));