]> Git Repo - linux.git/commitdiff
kernel/kcmp.c: drop branch leftover typo
authorCyrill Gorcunov <[email protected]>
Tue, 3 Oct 2017 23:16:26 +0000 (16:16 -0700)
committerLinus Torvalds <[email protected]>
Wed, 4 Oct 2017 00:54:25 +0000 (17:54 -0700)
The else branch been left over and escaped the source code refresh.  Not
a problem but better clean it up.

Fixes: 0791e3644e5e ("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]>
kernel/kcmp.c

index ea34ed8bb9529c7b7a2a38b0a4e050995b4ba97e..055bb2962a0b656269b1220d7cb4ead7978301e2 100644 (file)
@@ -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);
This page took 0.057022 seconds and 4 git commands to generate.