e_pixmap: don't need to check null for cp->client on e_pixmap_buffer_clear
authorGwanglim Lee <gl77.lee@samsung.com>
Sun, 5 Mar 2017 09:21:17 +0000 (18:21 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 6 Mar 2017 04:38:56 +0000 (13:38 +0900)
Change-Id: I75b358d08d980d45658851d82d5eb7cc937ecf10

src/bin/e_pixmap.c

index 4068d7a93a86cfc17750d3d420ea38aa83eafef6..83128746467f75269ed2d9013ea886181a56e469 100644 (file)
@@ -1045,7 +1045,7 @@ e_pixmap_buffer_clear(E_Pixmap *cp)
    e_comp_object_clear(cp->client->frame);
 
    /* pending frame event callback*/
-   if ((!cp->client) || (!cp->client->comp_data)) return;
+   if (!cp->client->comp_data) return;
    cdata = (E_Comp_Wl_Client_Data *)cp->client->comp_data;
    EINA_LIST_FOREACH_SAFE(cdata->frames, l, ll, cb)
      {