Skip to content

Commit c965385

Browse files
cyrillostorvalds
authored andcommitted
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: 0791e36 ("kcmp: add KCMP_EPOLL_TFD mode to compare epoll target files") Link: http://lkml.kernel.org/r/20170917165838.GA1887@uranus.lan Reported-by: Eugene Syromiatnikov <esyr@redhat.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Cc: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 1fdcce6 commit c965385

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/kcmp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task_struct *task1,
131131
if (filp_epoll) {
132132
filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
133133
fput(filp_epoll);
134-
} else
134+
}
135135

136136
if (IS_ERR(filp_tgt))
137137
return PTR_ERR(filp_tgt);

0 commit comments

Comments
 (0)