Commit c9653850 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Linus Torvalds

kernel/kcmp.c: drop branch leftover typo

The else branch been left over and escaped the source code refresh.  Not
a problem but better clean it up.

Fixes: 0791e364 ("kcmp: add KCMP_EPOLL_TFD mode to compare epoll target files")
Link: default avatarEugene Syromiatnikov <>
Signed-off-by: default avatarCyrill Gorcunov <>
Acked-by: default avatarAndrei Vagin <>
Cc: Pavel Emelyanov <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1fdcce6e
......@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task_struct *task1,
if (filp_epoll) {
filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
} else
if (IS_ERR(filp_tgt))
return PTR_ERR(filp_tgt);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment