Skip to content

Commit

Permalink
kernel/kcmp.c: drop branch leftover typo
Browse files Browse the repository at this point in the history
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/[email protected]
Reported-by: Eugene Syromiatnikov <[email protected]>
Signed-off-by: Cyrill Gorcunov <[email protected]>
Acked-by: Andrei Vagin <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
cyrillos authored and torvalds committed Oct 4, 2017
1 parent 1fdcce6 commit c965385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/kcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
fput(filp_epoll);
} else
}

if (IS_ERR(filp_tgt))
return PTR_ERR(filp_tgt);
Expand Down

0 comments on commit c965385

Please sign in to comment.