aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/events/uprobes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c
index dea7acfbb071..30ea9a4f4ab4 100644
--- a/kernel/events/uprobes.c
+++ b/kernel/events/uprobes.c
@@ -901,8 +901,7 @@ void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consume
901 } 901 }
902 902
903 mutex_unlock(uprobes_hash(inode)); 903 mutex_unlock(uprobes_hash(inode));
904 if (uprobe) 904 put_uprobe(uprobe);
905 put_uprobe(uprobe);
906} 905}
907 906
908static struct rb_node * 907static struct rb_node *