projects
/
platform
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff0908c
)
Fix sparse warnings in dbi_kprobe.h
author
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 6 Feb 2013 13:36:05 +0000
(17:36 +0400)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 6 Feb 2013 13:36:05 +0000
(17:36 +0400)
kprobe/dbi_kprobes.h
patch
|
blob
|
history
diff --git
a/kprobe/dbi_kprobes.h
b/kprobe/dbi_kprobes.h
index
6f79b22
..
84e14a5
100644
(file)
--- a/
kprobe/dbi_kprobes.h
+++ b/
kprobe/dbi_kprobes.h
@@
-194,20
+194,6
@@
struct kretprobe
struct hlist_head used_instances;
};
-static void retprobe_init(struct kretprobe *rp, kretprobe_handler_t handler)
-{
- memset(rp, 0, sizeof(*rp));
- rp->handler = handler;
-}
-
-static struct kretprobe *retprobe_create(kretprobe_handler_t handler)
-{
- struct kretprobe *rp = kmalloc(sizeof(rp), GFP_ATOMIC);
- retprobe_init(rp, handler);
-
- return rp;
-}
-
struct kretprobe_instance
{
// either on free list or used list