File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3208,7 +3208,6 @@ static int uprobe_prog_run(struct bpf_uprobe *uprobe,
3208
3208
struct bpf_prog * prog = link -> link .prog ;
3209
3209
bool sleepable = prog -> sleepable ;
3210
3210
struct bpf_run_ctx * old_run_ctx ;
3211
- int err = 0 ;
3212
3211
3213
3212
if (link -> task && !same_thread_group (current , link -> task ))
3214
3213
return 0 ;
@@ -3221,7 +3220,7 @@ static int uprobe_prog_run(struct bpf_uprobe *uprobe,
3221
3220
migrate_disable ();
3222
3221
3223
3222
old_run_ctx = bpf_set_run_ctx (& run_ctx .run_ctx );
3224
- err = bpf_prog_run (link -> link .prog , regs );
3223
+ bpf_prog_run (link -> link .prog , regs );
3225
3224
bpf_reset_run_ctx (old_run_ctx );
3226
3225
3227
3226
migrate_enable ();
@@ -3230,7 +3229,7 @@ static int uprobe_prog_run(struct bpf_uprobe *uprobe,
3230
3229
rcu_read_unlock_trace ();
3231
3230
else
3232
3231
rcu_read_unlock ();
3233
- return err ;
3232
+ return 0 ;
3234
3233
}
3235
3234
3236
3235
static bool
You can’t perform that action at this time.
0 commit comments