erase unused variable 34/71634/2
authorJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 26 May 2016 08:45:07 +0000 (17:45 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 26 May 2016 08:46:24 +0000 (17:46 +0900)
Change-Id: I03dee48c79d49b07478dfa0501427a97e1df9360
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tdm_helper.c

index d85d412..2a77cea 100644 (file)
@@ -17,8 +17,6 @@
 static const char *dump_prefix[2] = {"png", "yuv"};
 
 int tdm_dump_enable;
-static int *tdm_helper_dump_count;
-static char *tdm_helper_dump_path;
 
 INTERN unsigned long
 tdm_helper_get_time_in_millis(void)
@@ -257,30 +255,19 @@ tdm_helper_set_fd(const char *env, int fd)
 EXTERN void
 tdm_helper_dump_start(char *dumppath, int *count)
 {
-       if (tdm_helper_dump_count != NULL) {
-               TDM_DBG("tdm_helper_dump is already started.");
-               return;
-       }
-
        if (dumppath == NULL || count == NULL) {
                TDM_DBG("tdm_helper_dump dumppath or count is null.");
                return;
        }
 
-       tdm_helper_dump_count = count;
-       tdm_helper_dump_path = dumppath;
-
        tdm_dump_enable = 1;
 
-       TDM_DBG("tdm_helper_dump start.(path : %s)", tdm_helper_dump_path);
+       TDM_DBG("tdm_helper_dump start.(path : %s)", dumppath);
 }
 
 EXTERN void
 tdm_helper_dump_stop(void)
 {
-       tdm_helper_dump_path = NULL;
-       tdm_helper_dump_count = NULL;
-
        tdm_dump_enable = 0;
 
        TDM_DBG("tdm_helper_dump stop.");