[REFACTOR] remove sspt_proc_add_ip_data()
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Fri, 14 Jun 2013 08:31:07 +0000 (12:31 +0400)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Fri, 14 Jun 2013 08:31:07 +0000 (12:31 +0400)
us_manager/sspt/sspt_proc.c
us_manager/sspt/sspt_proc.h

index 5d5aec6..a8ee2d1 100644 (file)
@@ -140,13 +140,6 @@ struct sspt_file *sspt_proc_find_file_or_new(struct sspt_proc *proc,
        return file;
 }
 
-void sspt_proc_add_ip_data(struct sspt_proc *proc, struct dentry* dentry,
-               char *name, struct ip_data *ip_d)
-{
-       struct sspt_file *file = sspt_proc_find_file_or_new(proc, dentry, name);
-       sspt_file_add_ip(file, ip_d);
-}
-
 struct sspt_file *sspt_proc_find_file(struct sspt_proc *proc, struct dentry *dentry)
 {
        struct sspt_file *file;
index ea89d79..22e70d3 100644 (file)
@@ -53,8 +53,6 @@ struct sspt_proc *sspt_proc_get_by_task(struct task_struct *task);
 struct sspt_proc *sspt_proc_get_by_task_or_new(struct task_struct *task);
 void sspt_proc_free_all(void);
 
-void sspt_proc_add_ip_data(struct sspt_proc *proc, struct dentry* dentry,
-               char *name, struct ip_data *ip_d);
 struct sspt_file *sspt_proc_find_file(struct sspt_proc *proc, struct dentry *dentry);
 struct sspt_file *sspt_proc_find_file_or_new(struct sspt_proc *proc,
                struct dentry *dentry, char *name);