projects
/
platform
/
core
/
appfw
/
slp-pkgmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf9b6c
)
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
author
Junghyun Yeon
<jungh.yeon@samsung.com>
Thu, 16 Jun 2016 07:32:29 +0000
(16:32 +0900)
committer
Junghyun 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
patch
|
blob
|
history
diff --git
a/client/src/pkgmgr.c
b/client/src/pkgmgr.c
index 958d7c42183a6c88999518d80a536696143e600d..0f4d76b10c51de11222a6b3a629b7eb490d41c1c 100644
(file)
--- 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;