Code clean up: following efl code style and remove unnecessary codes 62/44562/1
authorjhyuni.kang <jhyuni.kang@samsung.com>
Thu, 23 Jul 2015 08:25:35 +0000 (17:25 +0900)
committerjhyuni.kang <jhyuni.kang@samsung.com>
Thu, 23 Jul 2015 08:25:35 +0000 (17:25 +0900)
Change-Id: I02965b521a72815e36e28ca489375bcc3ffdb127

src/e_mod_keyrouter_list.c

index e66c5ce..5e1320b 100644 (file)
@@ -5,8 +5,6 @@
 
 static int _e_keyrouter_find_duplicated_client(E_Client *ec, struct wl_client *wc, uint32_t key, uint32_t mode);
 
-//extern E_KeyrouterPtr krt;
-
 /* Function for adding a new key grab information into the keyrouting list */
 int
 e_keyrouter_set_keygrab_in_list(struct wl_resource *surface, struct wl_client *client, uint32_t key, uint32_t mode)
@@ -333,7 +331,7 @@ e_keyrouter_remove_client_from_list(E_Client *ec, struct wl_client *wc)
         return;
      }
 
-   for(index=0; index<MAX_HWKEYS; index++)
+   for (index = 0; index < MAX_HWKEYS; index++)
      {
         if (0 == krt->HardKeys[index].keycode)
           {
@@ -352,4 +350,4 @@ e_keyrouter_remove_client_from_list(E_Client *ec, struct wl_client *wc)
         /* shared grab */
         e_keyrouter_find_and_remove_client_from_list(ec, wc, index, TIZEN_KEYROUTER_MODE_SHARED);
      }
-}
\ No newline at end of file
+}