remove unused function 70/74970/1 accepted/tizen/common/20160620.163114 accepted/tizen/common/20160620.163202 accepted/tizen/ivi/20160617.083625 accepted/tizen/ivi/20160617.083716 accepted/tizen/mobile/20160617.083447 accepted/tizen/mobile/20160617.083837 accepted/tizen/tv/20160617.083314 accepted/tizen/tv/20160617.083607 accepted/tizen/wearable/20160617.083651 accepted/tizen/wearable/20160617.083919 submit/tizen/20160616.134250 submit/tizen/20160616.235341
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Jun 2016 07:32:29 +0000 (16:32 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Jun 2016 07:32:29 +0000 (16:32 +0900)
Change-Id: Id5f85eb750fc9979de96d8a753f2349317199b7e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
client/src/pkgmgr.c

index 958d7c4..0f4d76b 100644 (file)
@@ -520,20 +520,6 @@ static inline int __pkgmgr_read_proc(const char *path, char *buf, int size)
        return ret;
 }
 
-static inline int __pkgmgr_find_pid_by_cmdline(const char *dname,
-                                     const char *cmdline, const char *apppath)
-{
-       int pid = 0;
-
-       if (strncmp(cmdline, apppath, PKG_STRING_LEN_MAX-1) == 0) {
-               pid = atoi(dname);
-               if (pid != getpgid(pid))
-                       pid = 0;
-       }
-
-       return pid;
-}
-
 static int __sync_process(const char *req_key)
 {
        int ret;