File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1072,7 +1072,7 @@ static int kprobe_ftrace_enabled;
1072
1072
static int __arm_kprobe_ftrace (struct kprobe * p , struct ftrace_ops * ops ,
1073
1073
int * cnt )
1074
1074
{
1075
- int ret = 0 ;
1075
+ int ret ;
1076
1076
1077
1077
lockdep_assert_held (& kprobe_mutex );
1078
1078
@@ -1110,7 +1110,7 @@ static int arm_kprobe_ftrace(struct kprobe *p)
1110
1110
static int __disarm_kprobe_ftrace (struct kprobe * p , struct ftrace_ops * ops ,
1111
1111
int * cnt )
1112
1112
{
1113
- int ret = 0 ;
1113
+ int ret ;
1114
1114
1115
1115
lockdep_assert_held (& kprobe_mutex );
1116
1116
@@ -2692,7 +2692,7 @@ void kprobe_free_init_mem(void)
2692
2692
2693
2693
static int __init init_kprobes (void )
2694
2694
{
2695
- int i , err = 0 ;
2695
+ int i , err ;
2696
2696
2697
2697
/* FIXME allocate the probe table, currently defined statically */
2698
2698
/* initialize all list heads */
You can’t perform that action at this time.
0 commit comments