From: Junghyun Yeon Date: Thu, 16 Jun 2016 07:32:29 +0000 (+0900) Subject: remove unused function X-Git-Tag: submit/tizen/20160616.134250^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4591f8b7c6af15a5884fbb5e4a50511cfd51c6e8;p=platform%2Fcore%2Fappfw%2Fslp-pkgmgr.git remove unused function Change-Id: Id5f85eb750fc9979de96d8a753f2349317199b7e Signed-off-by: Junghyun Yeon --- diff --git a/client/src/pkgmgr.c b/client/src/pkgmgr.c index 958d7c4..0f4d76b 100644 --- a/client/src/pkgmgr.c +++ b/client/src/pkgmgr.c @@ -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;