Skip to content

Commit

Permalink
bpf: Remove unneeded semicolon
Browse files Browse the repository at this point in the history
Eliminate the following coccicheck warning:
/kernel/bpf/trampoline.c:101:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220725222733.55613-1-yang.lee@linux.alibaba.com
  • Loading branch information
Yang Li authored and anakryiko committed Jul 29, 2022
1 parent 395fc4f commit 14250fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/bpf/trampoline.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int bpf_tramp_ftrace_ops_func(struct ftrace_ops *ops, enum ftrace_ops_cmd
default:
ret = -EINVAL;
break;
};
}

mutex_unlock(&tr->mutex);
return ret;
Expand Down

0 comments on commit 14250fa

Please sign in to comment.