diff options
author | Anatolii Nikulin <nikulin.a@samsung.com> | 2015-09-30 10:50:42 +0300 |
---|---|---|
committer | Anatolii Nikulin <nikulin.a@samsung.com> | 2015-09-30 10:52:06 +0300 |
commit | 6588ee93895be01f3ab51b6e9c5d4b41d2581fba (patch) | |
tree | a3d0260b0c1d71967f4f0ba69ed5859ca8eeeaa3 | |
parent | 34c86553dfd06f1e4fa2d9b15d6dccc65488167f (diff) | |
download | swap-modules-6588ee93895be01f3ab51b6e9c5d4b41d2581fba.tar.gz swap-modules-6588ee93895be01f3ab51b6e9c5d4b41d2581fba.tar.bz2 swap-modules-6588ee93895be01f3ab51b6e9c5d4b41d2581fba.zip |
[FIX] remove unnessary spin_lock_irqsave/spin_unlock_irqrestore
Change-Id: If99a0ee36b5033d1e552441ff731da2870ff1ca8
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
-rw-r--r-- | uprobe/swap_uprobes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/uprobe/swap_uprobes.c b/uprobe/swap_uprobes.c index d34cf5cd..5055ed3b 100644 --- a/uprobe/swap_uprobes.c +++ b/uprobe/swap_uprobes.c @@ -894,9 +894,7 @@ void __swap_unregister_uretprobe(struct uretprobe *rp, int disarm) recycle_urp_inst(ri); } - spin_unlock_irqrestore(&uretprobe_lock, flags); - spin_lock_irqsave(&uretprobe_lock, flags); while ((ri = get_used_urp_inst(rp)) != NULL) { ri->rp = NULL; hlist_del(&ri->uflist); |